Formerly arscan.c.~21~

This commit is contained in:
Roland McGrath 1992-06-15 22:38:32 +00:00
parent 5c2f4a7d88
commit 9e37e514d2

View file

@ -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. */