From 9e37e514d2eafe3644e9ded15d297b6f53d89cd1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 15 Jun 1992 22:38:32 +0000 Subject: [PATCH] Formerly arscan.c.~21~ --- arscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arscan.c b/arscan.c index 4f6bed79..27df1ce8 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. */