Two changes:
authorReid Spencer <rspencer@reidspencer.com>
Fri, 8 Jul 2005 06:53:26 +0000 (06:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 8 Jul 2005 06:53:26 +0000 (06:53 +0000)
commit6371ccbd8d3838bdc7ca4f2cc9c807e84ecc93a8
treed835682bf63762b5db55d2a2c91baa1446fbf995
parent4c47e3a1c598a2d9c4f0a52c611379fcd08cc6ab
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
lib/System/Unix/Path.inc