mirror of
https://github.com/mirror/make.git
synced 2024-12-29 06:20:17 +08:00
Formerly arscan.c.~30~
This commit is contained in:
parent
481e0e7d22
commit
e8c11d4e32
8
arscan.c
8
arscan.c
@ -415,8 +415,14 @@ ar_name_equal (name, mem, truncated)
|
||||
|
||||
if (truncated)
|
||||
{
|
||||
#ifdef AIAMAG
|
||||
/* TRUNCATED should never be set on this system. */
|
||||
abort ();
|
||||
#else
|
||||
struct ar_hdr hdr;
|
||||
return !strncmp (name, mem, sizeof (hdr.ar_name) - 1);
|
||||
return !strncmp (name, mem,
|
||||
sizeof (hdr.ar_name) - 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
return !strcmp (name, mem);
|
||||
|
Loading…
Reference in New Issue
Block a user