mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 18:30:49 +02:00
commit bash-20150717 snapshot
This commit is contained in:
+2
-3
@@ -226,12 +226,11 @@ bash_history_inhibit_expansion (string, i)
|
||||
else if (extended_glob && i > 1 && string[i+1] == '(' && member (')', string + i + 2))
|
||||
return (1);
|
||||
#endif
|
||||
#if 0 /* bash-4.4 */
|
||||
|
||||
/* Make sure the history expansion should not be skipped by quoting or
|
||||
command/process substitution. */
|
||||
else if (t = skip_to_delim (string, 0, hx, SD_NOJMP) > 0 && t > i)
|
||||
else if ((t = skip_to_delim (string, 0, hx, SD_NOJMP)) > 0 && t > i)
|
||||
return (1);
|
||||
#endif
|
||||
else
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user