* gcc.c (process_command): Fix typo.
authorNicolas Roche <roche@act-europe.fr>
Thu, 4 Sep 2003 06:30:02 +0000 (08:30 +0200)
committerOlivier Hainque <hainque@gcc.gnu.org>
Thu, 4 Sep 2003 06:30:02 +0000 (06:30 +0000)
From-SVN: r71050

gcc/ChangeLog
gcc/gcc.c

index 55b094a29cd42861c774c39a3afdb2666437039d..acbd79987f57e12d5c951423a6ead25838e19caf 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 8ca0f91d30aae209db4b729c69dcac9370030d55..31f3d43bbee7bec84013652228f9ac2b8c829a09 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;
        }