http://llvm.org/bugs/show_bug.cgi?id=12743
Bug #: 12743
Summary: PathV2: unique_file("dir%%/file") doesn't create
unique directory "dir%%"
Product: libraries
Version: trunk
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: System Library
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
unique_file("file-system-test-%%-%%-%%-%%/test-directory.anchor") doesn't
create 'file-system-test-%%-%%-%%-%%' when it exists.
The issue could be reproduced when;
- srand(time(NULL)) is called for unique_file() among processes.
(See Daniel's r156237)
- SupportTests/FileSystemTest(s) are running in parallel.
FileSystemTest may create and delete file-system-test-%%-%%-%%-%%.
unique_file() should always create the directory when directory contains '%'.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs