From e70295b5c99c29e5792649b87d8455dfef209ac8 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 18 Mar 2009 15:19:35 +0000 Subject: [PATCH] Fix URL trimming for version information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67206 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.40.0