From a8f101d0bc354896e410e218db12b449b0447de7 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 1 Apr 2006 06:36:40 +0000 Subject: 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. --- implicit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'implicit.c') 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 -- cgit v1.2.3