diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-21 05:53:23 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-21 05:53:23 +0000 |
commit | 588da9812e055fbceb900c350ab406f97eccbf37 (patch) | |
tree | cc291944695d7e922ac93c5ae293289349acd7d5 /arscan.c | |
parent | 73846549f62b832ca6ff761ad3640a86d3b32c86 (diff) | |
download | gunmake-588da9812e055fbceb900c350ab406f97eccbf37.tar.gz |
* Add configure option to enable dmalloc library.
* Various code cleanups.
Diffstat (limited to 'arscan.c')
-rw-r--r-- | arscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -699,9 +699,9 @@ ar_name_equal (name, mem, truncated) #else struct ar_hdr hdr; #if !defined (__hpux) && !defined (cray) - return !strncmp (name, mem, sizeof(hdr.ar_name) - 1); + return strneq (name, mem, sizeof(hdr.ar_name) - 1); #else - return !strncmp (name, mem, sizeof(hdr.ar_name) - 2); + return strneq (name, mem, sizeof(hdr.ar_name) - 2); #endif /* !__hpux && !cray */ #endif /* !AIAMAG */ } |