aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide/manpage.css
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-07 05:34:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-07 05:34:08 +0000
commita8e80c51882c008e1e29194ea9c808ede1164eff (patch)
tree674a7754d26f98745c525b1aef936c4a15a0104e /docs/CommandGuide/manpage.css
parentbffdc36c3820100e806520d0c5608a7752324d4b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/manpage.css')
0 files changed, 0 insertions, 0 deletions