mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-01-31 00:53:23 +00:00
(file_impossible_p): Correctly reset FILENAME to name within directory
before hash search.
This commit is contained in:
parent
ee14af651f
commit
0afe62e255
1 changed files with 2 additions and 2 deletions
4
dir.c
4
dir.c
|
@ -1,5 +1,5 @@
|
|||
/* Directory hashing for GNU Make.
|
||||
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988, 89, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
|
||||
This file is part of GNU Make.
|
||||
|
||||
GNU Make is free software; you can redistribute it and/or modify
|
||||
|
@ -444,7 +444,7 @@ file_impossible_p (filename)
|
|||
bcopy (p, dirname, dirend - p);
|
||||
dirname[dirend - p] = '\0';
|
||||
dir = find_directory (dirname)->contents;
|
||||
p = dirend + 1;
|
||||
p = filename = dirend + 1;
|
||||
}
|
||||
|
||||
if (dir == 0 || dir->files == 0)
|
||||
|
|
Loading…
Reference in a new issue