cppinit.c (init_standard_includes): Reverse accidentally included hunk from prefix...
authorNeil Booth <neil@gcc.gnu.org>
Sat, 18 Aug 2001 07:17:14 +0000 (07:17 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 18 Aug 2001 07:17:14 +0000 (07:17 +0000)
* cppinit.c (init_standard_includes): Reverse accidentally
included hunk from prefix.c patch.

From-SVN: r45001

gcc/cppinit.c

index 4a78a938987ea89a352dc470a7dd868e6889cd8e..0b47abea185c2c57e8e8ad9ec2a71e7b359e35cc 100644 (file)
@@ -861,7 +861,7 @@ init_standard_includes (pfile)
          || (CPP_OPTION (pfile, cplusplus)
              && !CPP_OPTION (pfile, no_standard_cplusplus_includes)))
        {
-         char *str = update_path (p->fname, p->component);
+         char *str = xstrdup (update_path (p->fname, p->component));
          append_include_chain (pfile, str, SYSTEM, p->cxx_aware);
        }
     }