summaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-11-09 23:13:22 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-11-09 23:13:22 +0000
commit137bb46a786df6bbca165a1dc0af184ffdf16b9d (patch)
tree63d26e0ee6e2ef73599abc072d09c9015c8451d2 /gcc/tlink.c
parent4fdc14caaaf554bb43118238ab3ef90abaa86c45 (diff)
downloadgcc-137bb46a786df6bbca165a1dc0af184ffdf16b9d.tar.gz
clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
* clipper.h (ASM_OUTPUT_REG_POP): Fix typo. * tlink.c (recompile_files): Copy strings passed to `putenv'. From-SVN: r46904
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 4a669b46fd9..78840ca9a41 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -495,8 +495,8 @@ recompile_files ()
{
file *f;
- putenv ("COMPILER_PATH");
- putenv ("LIBRARY_PATH");
+ putenv (xstrdup ("COMPILER_PATH"));
+ putenv (xstrdup ("LIBRARY_PATH"));
while ((f = file_pop ()) != NULL)
{