search for: createtemporaryfileondisk

Displaying 4 results from an estimated 4 matches for "createtemporaryfileondisk".

2005 Nov 23
0
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
...track this down, but I would suggest that you break out a debugger and investigate the following: 1. What is the path name associated with TmpArchive? If its the same as the path name associated with archPath then that's a bug, probably introduced when Path::makeUnique is called from Path::createTemporaryFileOnDisk which is called from line 377 of ArchiveWriter.cpp. 2. If item 1. holds, break in Path::makeUnique and see how it is computing the temporary name. There are three mechanisms: mkstemp, mktemp, and "manual". I don't know which mechanism it is using or why its not creating a unique f...
2005 Nov 22
2
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
On Nov 22, 2005, at 17:18, Reid Spencer wrote: > Your patch uses an operating system call that is not portable. All > non-portable code needs to be located in the lib/System library. Yep! I know. That is why I posted it for discussion. I'm not sure if this is the "right" way to fix the problem, or if there is a different fix that should be applied (like perhaps copying the
2005 Nov 23
2
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
On Nov 22, 2005, at 19:10, Reid Spencer wrote: > 1. What is the path name associated with TmpArchive? If its the same > as the path name associated with archPath then that's a bug, probably > introduced when Path::makeUnique is called from > Path::createTemporaryFileOnDisk which is called from line 377 of > ArchiveWriter.cpp. This does not appear to be the problem. I excluded the lines from the strace that created this temporary file. After line 377: (gdb) p TmpArchive $2 = {path = {static npos = 4294967295, _M_dataplus = {<allocator<char>> =...
2005 Nov 23
0
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
...ote: > On Nov 22, 2005, at 19:10, Reid Spencer wrote: > >> 1. What is the path name associated with TmpArchive? If its the same >> as the path name associated with archPath then that's a bug, probably >> introduced when Path::makeUnique is called from >> Path::createTemporaryFileOnDisk which is called from line 377 of >> ArchiveWriter.cpp. > > > This does not appear to be the problem. I excluded the lines from the > strace that created this temporary file. After line 377: > > (gdb) p TmpArchive > $2 = {path = {static npos = 4294967295, > _M_...