mirror of
https://github.com/mirror/make.git
synced 2025-01-03 00:40:34 +08:00
entered into RCS
This commit is contained in:
parent
29b051dc0c
commit
d68bb0895b
10
arscan.c
10
arscan.c
@ -1,5 +1,5 @@
|
|||||||
/* Library function for scanning an archive file.
|
/* Library function for scanning an archive file.
|
||||||
Copyright (C) 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1987, 89, 91, 92, 93, 94 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -428,7 +428,13 @@ ar_name_equal (name, mem, truncated)
|
|||||||
#else
|
#else
|
||||||
struct ar_hdr hdr;
|
struct ar_hdr hdr;
|
||||||
return !strncmp (name, mem,
|
return !strncmp (name, mem,
|
||||||
sizeof (hdr.ar_name) - 1);
|
sizeof (hdr.ar_name) -
|
||||||
|
#ifndef __hpux
|
||||||
|
1
|
||||||
|
#else
|
||||||
|
2
|
||||||
|
#endif /* __hpux */
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,7 +195,13 @@ static char *default_suffix_rules[] =
|
|||||||
static char *default_variables[] =
|
static char *default_variables[] =
|
||||||
{
|
{
|
||||||
"AR", "ar",
|
"AR", "ar",
|
||||||
|
#ifndef __hpux
|
||||||
"ARFLAGS", "rv",
|
"ARFLAGS", "rv",
|
||||||
|
#else
|
||||||
|
/* HPUX ar's f flag says to truncate the file names to archive member
|
||||||
|
name length in comparisons, so replacement notices the equality. */
|
||||||
|
"ARFLAGS", "rfv",
|
||||||
|
#endif
|
||||||
"AS", "as",
|
"AS", "as",
|
||||||
"CC", "cc",
|
"CC", "cc",
|
||||||
"CXX", "g++",
|
"CXX", "g++",
|
||||||
|
Loading…
Reference in New Issue
Block a user