[cfe-commits] r67206 - /cfe/trunk/lib/Driver/Driver.cpp
Mike Stump
mrs at apple.com
Wed Mar 18 08:19:36 PDT 2009
Author: mrs
Date: Wed Mar 18 10:19:35 2009
New Revision: 67206
URL: http://llvm.org/viewvc/llvm-project?rev=67206&view=rev
Log:
Fix URL trimming for version information.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=67206&r1=67205&r2=67206&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Wed Mar 18 10:19:35 2009
@@ -219,7 +219,7 @@
zap = strstr(buf, "/clang/tools/clang");
if (zap)
*zap = 0;
- const char *vers = buf+10;
+ const char *vers = buf+6;
// FIXME: The following handlers should use a callback mechanism, we
// don't know what the client would like to do.
More information about the cfe-commits
mailing list