mirror of
https://github.com/mirror/make.git
synced 2025-01-19 08:40:13 +08:00
Formerly vpath.c.~10~
This commit is contained in:
parent
f3bd744187
commit
164dcdad22
8
vpath.c
8
vpath.c
@ -346,8 +346,12 @@ selective_vpath_search (path, file, mtime_ptr)
|
|||||||
|
|
||||||
/* Now add the name-within-directory at the end of NAME. */
|
/* Now add the name-within-directory at the end of NAME. */
|
||||||
if (n != name && n[-1] != '/')
|
if (n != name && n[-1] != '/')
|
||||||
*n = '/';
|
{
|
||||||
bcopy (filename, n + 1, flen + 1);
|
*n = '/';
|
||||||
|
bcopy (filename, n + 1, flen + 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
bcopy (filename, n, flen + 1);
|
||||||
|
|
||||||
if (not_target)
|
if (not_target)
|
||||||
/* Since *FILE is not a target, if the file is
|
/* Since *FILE is not a target, if the file is
|
||||||
|
Loading…
Reference in New Issue
Block a user