summaryrefslogtreecommitdiff
path: root/arscan.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-05-03 21:03:37 +0000
committerRoland McGrath <roland@redhat.com>1993-05-03 21:03:37 +0000
commite8c11d4e320e833669460e45cdad16652c2f740d (patch)
tree90d186a40db629e4b4fce405b8e2725300c98780 /arscan.c
parent481e0e7d2232f5f9b1861ca4743c086f460abe21 (diff)
downloadgunmake-e8c11d4e320e833669460e45cdad16652c2f740d.tar.gz
Formerly arscan.c.~30~
Diffstat (limited to 'arscan.c')
-rw-r--r--arscan.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arscan.c b/arscan.c
index 04c6b7f..a6931c6 100644
--- a/arscan.c
+++ b/arscan.c
@@ -415,8 +415,14 @@ ar_name_equal (name, mem, truncated)
if (truncated)
{
+#ifdef AIAMAG
+ /* TRUNCATED should never be set on this system. */
+ abort ();
+#else
struct ar_hdr hdr;
- return !strncmp (name, mem, sizeof (hdr.ar_name) - 1);
+ return !strncmp (name, mem,
+ sizeof (hdr.ar_name) - 1);
+#endif
}
return !strcmp (name, mem);