]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly arscan.c.~21~
authorRoland McGrath <roland@redhat.com>
Mon, 15 Jun 1992 22:38:32 +0000 (22:38 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 15 Jun 1992 22:38:32 +0000 (22:38 +0000)
arscan.c

index 4f6bed7962da69ec18739548c9aa3dce7c391b55..27df1ce84f3448a54e28c06ce696bf591c12f0f3 100644 (file)
--- 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.  */