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 | 73214985fa083f4667b07fe0346bbb847ee38368 (patch) | |
tree | cc291944695d7e922ac93c5ae293289349acd7d5 /arscan.c | |
parent | 5b75f81b6d3cbf17ebec35af5e5ecc1c8d25bc52 (diff) | |
download | make-73214985fa083f4667b07fe0346bbb847ee38368.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 */ } |