summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-06-15 22:38:32 +0000
committerRoland McGrath <roland@redhat.com>1992-06-15 22:38:32 +0000
commit9e37e514d2eafe3644e9ded15d297b6f53d89cd1 (patch)
treee40e682375c6bffc2b1753cd3023f11b1e202b5f
parent5c2f4a7d88e4f77a3d474f1998e9eee48617be58 (diff)
downloadgunmake-9e37e514d2eafe3644e9ded15d297b6f53d89cd1.tar.gz
Formerly arscan.c.~21~
-rw-r--r--arscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arscan.c b/arscan.c
index 4f6bed7..27df1ce 100644
--- a/arscan.c
+++ b/arscan.c
@@ -306,7 +306,7 @@ ar_name_equal (name, mem)
&& mem[memlen - 2] == '.' && mem[memlen - 1] == 'o')
return 1;
- return !strncmp (name + max - 3, mem + max - 3);
+ return !strcmp (name + max - 3, mem + max - 3);
#else /* AIX or APOLLO. */