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
commitc35c037ca1bc165f666a3f7a0fd54ca1209bc974 (patch)
tree8ac64ff471e0a976daf75ef913c084adba4972fc /arscan.c
parenteaf8e1e0c5666466ba75046235993c6ef0edf697 (diff)
downloadmake-c35c037ca1bc165f666a3f7a0fd54ca1209bc974.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 9cf746bb..13ae45ba 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 */