From e8c11d4e320e833669460e45cdad16652c2f740d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 3 May 1993 21:03:37 +0000 Subject: [PATCH] Formerly arscan.c.~30~ --- arscan.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arscan.c b/arscan.c index 04c6b7f2..a6931c6e 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);