From: Mike Stump Date: Wed, 18 Mar 2009 15:19:35 +0000 (+0000) Subject: Fix URL trimming for version information. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e70295b5c99c29e5792649b87d8455dfef209ac8;p=clang Fix URL trimming for version information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67206 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index fd2ff48138..d539070d5d 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -219,7 +219,7 @@ void Driver::PrintVersion() const { 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.