Formerly commands.c.~9~

This commit is contained in:
Roland McGrath 1992-07-13 21:51:47 +00:00
parent 4eb52d9a45
commit 8ef3af8bed

View file

@ -175,7 +175,17 @@ set_file_variables (file)
unsigned int Dlen, Flen; unsigned int Dlen, Flen;
c = dep_name (d); 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); bcopy (c, cp, len);
cp += len; cp += len;
*cp++ = ' '; *cp++ = ' ';