mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-29 08:09:02 +00:00
Formerly commands.c.~9~
This commit is contained in:
parent
4eb52d9a45
commit
8ef3af8bed
1 changed files with 11 additions and 1 deletions
12
commands.c
12
commands.c
|
@ -175,7 +175,17 @@ set_file_variables (file)
|
|||
unsigned int Dlen, Flen;
|
||||
|
||||
c = dep_name (d);
|
||||
len = strlen (c);
|
||||
|
||||
#ifndef NO_ARCHIVES
|
||||
if (ar_name (c))
|
||||
{
|
||||
c = index (c, '(') + 1;
|
||||
len = strlen (c) - 1;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
len = strlen (c);
|
||||
|
||||
bcopy (c, cp, len);
|
||||
cp += len;
|
||||
*cp++ = ' ';
|
||||
|
|
Loading…
Reference in a new issue