summaryrefslogtreecommitdiff
path: root/arscan.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1998-07-30 20:54:47 +0000
committerPaul Smith <psmith@gnu.org>1998-07-30 20:54:47 +0000
commite2403327e9913bbcbd515f9c38b8f4e26fb9b0d9 (patch)
tree8ac64ff471e0a976daf75ef913c084adba4972fc /arscan.c
parent65a7296e2c81b04761b3f024572310a02c9de691 (diff)
downloadgunmake-e2403327e9913bbcbd515f9c38b8f4e26fb9b0d9.tar.gz
GNU make release 3.77.
Diffstat (limited to 'arscan.c')
-rw-r--r--arscan.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arscan.c b/arscan.c
index 9cf746b..13ae45b 100644
--- a/arscan.c
+++ b/arscan.c
@@ -600,15 +600,12 @@ ar_name_equal (name, mem, truncated)
abort ();
#else
struct ar_hdr hdr;
- return !strncmp (name, mem,
- sizeof (hdr.ar_name) -
#if !defined (__hpux) && !defined (cray)
- 1
+ return !strncmp (name, mem, sizeof(hdr.ar_name) - 1);
#else
- 2
+ return !strncmp (name, mem, sizeof(hdr.ar_name) - 2);
#endif /* !__hpux && !cray */
- );
-#endif
+#endif /* !AIAMAG */
}
#endif /* !VMS */