Blame bash-cond-rmatch.patch
|
Roman Rakus |
f2e7e18 |
diff -up bash-4.1-rc1/execute_cmd.c.cond_rmatch bash-4.1-rc1/execute_cmd.c
|
|
Roman Rakus |
f2e7e18 |
--- bash-4.1-rc1/execute_cmd.c.cond_rmatch 2009-12-26 22:49:09.000000000 +0100
|
|
Roman Rakus |
f2e7e18 |
+++ bash-4.1-rc1/execute_cmd.c 2009-12-26 22:54:11.000000000 +0100
|
|
Roman Rakus |
f2e7e18 |
@@ -3278,8 +3278,7 @@ execute_cond_node (cond)
|
|
|
2af880f |
arg1 = nullstr;
|
|
Roman Rakus |
f2e7e18 |
if (ignore)
|
|
Roman Rakus |
f2e7e18 |
comsub_ignore_return++;
|
|
Roman Rakus |
2cb4603 |
- arg2 = cond_expand_word (cond->right->op,
|
|
Roman Rakus |
2cb4603 |
- (rmatch && shell_compatibility_level > 31) ? 2 : (patmatch ? 1 : 0));
|
|
|
8515da7 |
+ arg2 = cond_expand_word (cond->right->op, patmatch ? 1 : 0);
|
|
Roman Rakus |
f2e7e18 |
if (ignore)
|
|
Roman Rakus |
f2e7e18 |
comsub_ignore_return--;
|
|
|
2af880f |
if (arg2 == 0)
|