From 6d8d9b74d9c50cb07fe952ac0929f618e4280a55 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 10 Mar 2006 02:20:45 +0000 Subject: Numerous updates to tests for issues found on Cygwin and Windows. Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes. --- implicit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'implicit.c') diff --git a/implicit.c b/implicit.c index b8f1054..8085ea1 100644 --- a/implicit.c +++ b/implicit.c @@ -354,7 +354,7 @@ pattern_search (struct file *file, int archive, check_lastslash = strchr (target, '/') == 0; #ifdef HAVE_DOS_PATHS /* Didn't find it yet: check for DOS-type directories. */ - if (!check_lastslash) + if (check_lastslash) { char *b = strrchr (target, '\\'); check_lastslash = !(b ? b > lastslash -- cgit v1.2.3