commit | c8aef4b2ea23f7da3668f35872ee5bd8df28bcc0 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:59 2010 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:59 2010 +0000 |
tree | 72759d3378625197dba79f9da543312a7e897099 | |
parent | 572ec1f3c0fd2386ce8a7dbeb7c15b3ac8ab1878 [diff] [blame] |
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT. This allows using GetDLLSuffix() with appendSuffix(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118051 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index ae166a5..8fc4153 100644 --- a/lib/System/Path.cpp +++ b/lib/System/Path.cpp
@@ -192,7 +192,7 @@ } StringRef Path::GetDLLSuffix() { - return LTDL_SHLIB_EXT; + return &(LTDL_SHLIB_EXT[1]); } bool