aboutsummaryrefslogtreecommitdiff
path: root/tools/gccld/GenerateCode.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-08 06:53:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-08 06:53:26 +0000
commit6371ccbd8d3838bdc7ca4f2cc9c807e84ecc93a8 (patch)
treed835682bf63762b5db55d2a2c91baa1446fbf995 /tools/gccld/GenerateCode.cpp
parent4c47e3a1c598a2d9c4f0a52c611379fcd08cc6ab (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/GenerateCode.cpp')
0 files changed, 0 insertions, 0 deletions