summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-10-25 19:25:17 +0000
committerRoland McGrath <roland@redhat.com>1993-10-25 19:25:17 +0000
commit3aeb946943174a34239e6cc633be76c7085061da (patch)
treed6ff3e9df2863922b2a25a42fd9cfab6e07646b0 /read.c
parent9012e6a254c2663b18d4120d06ccd3f1a36976fe (diff)
downloadgunmake-3aeb946943174a34239e6cc633be76c7085061da.tar.gz
Formerly read.c.~68~
Diffstat (limited to 'read.c')
-rw-r--r--read.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/read.c b/read.c
index 21dc538..47e54ad 100644
--- a/read.c
+++ b/read.c
@@ -1537,7 +1537,11 @@ parse_file_seq (stringp, stopchar, size, strip)
lastn = n;
n = n->next;
}
- if (n != 0)
+ if (n != 0
+ /* Ignore something starting with `(', as that cannot actually
+ be an archive-member reference (and treating it as such
+ results in an empty file name, which causes much lossage). */
+ && n->name[0] != '(')
{
/* N is the first element in the archive group.
Its name looks like "lib(mem" (with no closing `)'). */