]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly arscan.c.~30~
authorRoland McGrath <roland@redhat.com>
Mon, 3 May 1993 21:03:37 +0000 (21:03 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 3 May 1993 21:03:37 +0000 (21:03 +0000)
arscan.c

index 04c6b7f24f426cd911c59a18f507767215736590..a6931c6e2e02ebb2e7dcfb8bb1834b728121e36f 100644 (file)
--- 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);