diff options
author | Paul Smith <psmith@gnu.org> | 2011-05-07 14:36:11 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-05-07 14:36:11 +0000 |
commit | b664d3a91d57bbd7efdb042489d70a1473e46753 (patch) | |
tree | 96970eba6806b711f337f4c1c5c05cb699f71005 /read.c | |
parent | b5c065418f63f22dc8e6ab508708afd4de070d55 (diff) | |
download | gunmake-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |