aboutsummaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 555deb6..21d82f7 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -334,7 +334,7 @@ static char *
pfgets (stream)
FILE *stream;
{
- return obstack_fgets (stream, &permanent_obstack);
+ return xstrdup (tfgets (stream));
}
/* Real tlink code. */