[llvm-commits] CVS: llvm/lib/System/Unix/Signals.inc

Reid Spencer reid at x10sys.com
Sun Aug 6 22:34:22 PDT 2006



Changes in directory llvm/lib/System/Unix:

Signals.inc updated: 1.12 -> 1.13
---
Log message:

Make the removal of files use Path::eraseFromDisk just like it does for
the removal of directories. Using std::remove is indiscriminate and can
lead to the removal of things like /dev/null if run as root. The 
Path::eraseFromDisk method ensures that we only ever remove regular files
or directories, but never character or block special nodes.  This should
clear up the problem with usage like: llvm-as -o /dev/null which is used
in the llvm-test makefiles. 


---
Diffs of the changes:  (+0 -0)

 0 files changed








More information about the llvm-commits mailing list