tradcpp.c (main): Update max_include_len for cpp_include_defaults as well.
authorJakub Jelinek <jakub@redhat.com>
Mon, 24 Jul 2000 17:04:03 +0000 (19:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 24 Jul 2000 17:04:03 +0000 (19:04 +0200)
* tradcpp.c (main): Update max_include_len for cpp_include_defaults
as well.

From-SVN: r35229

gcc/ChangeLog
gcc/tradcpp.c

index 7feb98f2f531c05ae18505749a08d5d84f4df3b8..3f7092ac2a0feb0acacf314d2c436f2ff021c950 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * tradcpp.c (main): Update max_include_len for cpp_include_defaults
+       as well.
+
 2000-07-24  Michael Meissner  <meissner@redhat.com>
 
        * invoke.texi (D30V Options): Add d30v options.
index 66f4914821c2df04b8d4f5036a44dea8333937cf..a66123631a3dd52b31e90d24acb438e16eaada88 100644 (file)
@@ -739,6 +739,8 @@ main (argc, argv)
        last_include->next = dirtmp;
       last_include = dirtmp;   /* Tail follows the last one */
       dirtmp->fname = di->fname;
+      if (strlen (dirtmp->fname) > max_include_len)
+       max_include_len = strlen (dirtmp->fname);
     }
 
     if (ignore_srcdir && first_bracket_include == 0)