diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-09 23:13:22 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-09 23:13:22 +0000 |
commit | db62533f402e2e50951fe0d1265544f4f9fccf81 (patch) | |
tree | 63d26e0ee6e2ef73599abc072d09c9015c8451d2 /gcc/tlink.c | |
parent | cfec814ea25f10a1b05d718a9ceed407c077fa65 (diff) | |
download | gcc-db62533f402e2e50951fe0d1265544f4f9fccf81.tar.gz |
* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
* tlink.c (recompile_files): Copy strings passed to `putenv'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r-- | gcc/tlink.c | 4 |
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) { |