mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 21:20:50 +02:00
commit bash-20040802 snapshot
This commit is contained in:
+9
-3
@@ -2508,9 +2508,15 @@ execute_cond_node (cond)
|
||||
}
|
||||
else
|
||||
#endif /* COND_REGEXP */
|
||||
result = binary_test (cond->op->word, arg1, arg2, TEST_PATMATCH|TEST_ARITHEXP)
|
||||
? EXECUTION_SUCCESS
|
||||
: EXECUTION_FAILURE;
|
||||
{
|
||||
int oe;
|
||||
oe = extended_glob;
|
||||
extended_glob = 1;
|
||||
result = binary_test (cond->op->word, arg1, arg2, TEST_PATMATCH|TEST_ARITHEXP)
|
||||
? EXECUTION_SUCCESS
|
||||
: EXECUTION_FAILURE;
|
||||
extended_glob = oe;
|
||||
}
|
||||
if (arg1 != nullstr)
|
||||
free (arg1);
|
||||
if (arg2 != nullstr)
|
||||
|
||||
Reference in New Issue
Block a user