diff options
author | Chet Ramey <chet.ramey@case.edu> | 2012-05-07 16:23:18 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2012-05-07 16:23:18 -0400 |
commit | 91717ba3b24d1ed49c47b35b88cf3d44c2eb0dc3 (patch) | |
tree | 3ed9284d6fa4c13d5d29d7c5d148e75482deb296 /subst.c | |
parent | 723479771597fa6dbbe6353aedf18e90f80afab5 (diff) | |
download | android_external_bash-91717ba3b24d1ed49c47b35b88cf3d44c2eb0dc3.tar.gz android_external_bash-91717ba3b24d1ed49c47b35b88cf3d44c2eb0dc3.tar.bz2 android_external_bash-91717ba3b24d1ed49c47b35b88cf3d44c2eb0dc3.zip |
Bash-4.2 patch 27
Diffstat (limited to 'subst.c')
-rw-r--r-- | subst.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4166,7 +4166,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) simple = (wpat[0] != L'\\' && wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'['); #if defined (EXTENDED_GLOB) if (extended_glob) - simple |= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/ + simple &= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/ #endif /* If the pattern doesn't match anywhere in the string, go ahead and |