mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-25 13:41:45 +00:00
Formerly arscan.c.~30~
This commit is contained in:
parent
481e0e7d22
commit
e8c11d4e32
1 changed files with 7 additions and 1 deletions
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 a new issue