summaryrefslogtreecommitdiff
path: root/arscan.c
diff options
context:
space:
mode:
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);