summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-05-07 14:36:11 +0000
committerPaul Smith <psmith@gnu.org>2011-05-07 14:36:11 +0000
commitb664d3a91d57bbd7efdb042489d70a1473e46753 (patch)
tree96970eba6806b711f337f4c1c5c05cb699f71005 /read.c
parentb5c065418f63f22dc8e6ab508708afd4de070d55 (diff)
downloadgunmake-b664d3a91d57bbd7efdb042489d70a1473e46753.tar.gz
Inverted the boolean test from what I wanted it to be. Added a
regression test to make sure this continues to work.
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index 3f72326..c87d4a7 100644
--- a/read.c
+++ b/read.c
@@ -3111,7 +3111,7 @@ parse_file_seq (char **stringp, unsigned int size, int stopchar,
#endif /* !NO_ARCHIVES */
/* glob() is expensive: don't call it unless we need to. */
- if (!(flags & PARSEFS_EXISTS) || strpbrk (name, "?*[") == NULL)
+ if (!(flags & PARSEFS_EXISTS) && strpbrk (name, "?*[") == NULL)
{
globme = 0;
i = 1;