summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-04-01 06:36:40 +0000
committerPaul Smith <psmith@gnu.org>2006-04-01 06:36:40 +0000
commita8f101d0bc354896e410e218db12b449b0447de7 (patch)
treeb161fc78e688e2c08828116dca05cb148af6e305 /implicit.c
parent367a49591e2b2335f3f5b42e290651d4df77e933 (diff)
downloadgunmake-a8f101d0bc354896e410e218db12b449b0447de7.tar.gz
Release GNU make 3.81.
Update NEWS docs. Enhance the manual to use automake version.texi, and use the canonical FSF copyright features and statement. Some $(realpath ...) tests won't work on Windows; leave them out The jobserver filedescriptor test might fail if some FDs are reserved, so for now comment out that check.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/implicit.c b/implicit.c
index 878d154..014828f 100644
--- a/implicit.c
+++ b/implicit.c
@@ -356,9 +356,8 @@ pattern_search (struct file *file, int archive,
/* Didn't find it yet: check for DOS-type directories. */
if (check_lastslash)
{
- char *b = strrchr (target, '\\');
- check_lastslash = !(b ? b > lastslash
- : (target[0] && target[1] == ':'));
+ char *b = strchr (target, '\\');
+ check_lastslash = !(b || (target[0] && target[1] == ':'));
}
#endif
#endif