change to binary file detection; fix for negative fractional read timeout; check more often for terminating signals in subshells; clear process substitutions in subshells; wait only for last procsub if `wait' is called without arguments

This commit is contained in:
Chet Ramey committed 2022-10-31 10:08:36 -04:00
1 parent 6711d2dc77
commit b48c234286
11 files changed
+5442 -6955

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ sleep_builtin (WORD_LIST *list)
if (list->word && ISOPTION (list->word->word, '-'))
list = list->next;
/* Reject options and negative arguments */
if (*list->word->word == '-' || list->next) {
builtin_usage ();
return (EX_USAGE);