* gcc.c (process_command): Fix typo.
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 06:30:02 +0000 (06:30 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2003 06:30:02 +0000 (06:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71050 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 55b094a..acbd799 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-04  Nicolas Roche  <roche@act-europe.fr>
+
+       * gcc.c (process_command): Fix typo.
+
 2003-09-03  David O'Brien  <obrien@FreeBSD.org>
 
        optimization/11980
index 8ca0f91..31f3d43 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3186,7 +3186,7 @@ process_command (int argc, const char *const *argv)
          if (IS_DIR_SEPARATOR (*temp)
              && strncmp (temp + 1, "lib", 3) == 0
              && IS_DIR_SEPARATOR (temp[4])
-             && strncmp (temp + 5, "gcc", 7) == 0)
+             && strncmp (temp + 5, "gcc", 3) == 0)
            len -= sizeof ("/lib/gcc/") - 1;
        }