1. Fix bug in getBaseName where it mishandles suffixes
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 9 Jul 2005 18:42:02 +0000 (18:42 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 9 Jul 2005 18:42:02 +0000 (18:42 +0000)
commit73f36671b23cd299550060e4167b52d1e22fd314
tree06a7ab05b783a4f3a3138c83015146e30457ab7b
parent8b2d1aa37b8a1d8993c184a0255fefb47c6b9b7c
1. Fix bug in getBaseName where it mishandles suffixes
2. Fix bug in eraseSuffix where it allows /path/.suffix to become /path/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22362 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/Path.inc