diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-07-08 06:53:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-07-08 06:53:26 +0000 |
commit | d28e432c361422a570e86ecd043fd6052bc2a119 (patch) | |
tree | 414eb4a5250ef725e3f70da4e0865cc4780e3558 /llvm/tools/gccld/GenerateCode.cpp | |
parent | 748de6e2486945745e14fa3c1955315165a069a3 (diff) | |
download | bcm5719-llvm-d28e432c361422a570e86ecd043fd6052bc2a119.tar.gz bcm5719-llvm-d28e432c361422a570e86ecd043fd6052bc2a119.zip |
Two changes:
1. Use isValid() to check validity of the resulting path name in the
eraseSuffix even though we can't think of a case where eraseSuffix could
possibly cause an invalid path name.
2. Rewrite isValid() to not use the deprecated realpath function any more.
It now just uses isascii to make sure all the characters are legit.
llvm-svn: 22359
Diffstat (limited to 'llvm/tools/gccld/GenerateCode.cpp')
0 files changed, 0 insertions, 0 deletions