mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-31 15:10:45 +02:00
unconditionally define PGRP_PIPE; fix wait in funsubs; fix REPLY as nameref in varsub; fix crash with parse errors in compound assignments
This commit is contained in:
+2
-2
@@ -123,7 +123,7 @@ hash_builtin (WORD_LIST *list)
|
||||
if (list == 0 && (delete || list_targets))
|
||||
{
|
||||
sh_needarg (delete ? "-d" : "-t");
|
||||
return (EXECUTION_FAILURE);
|
||||
return (sh_chkwrite (EXECUTION_FAILURE));
|
||||
}
|
||||
|
||||
/* It's an error to specify a pathname to hash to, but no name to hash. */
|
||||
@@ -299,5 +299,5 @@ list_hashed_filename_targets (WORD_LIST *list, int fmt)
|
||||
free (target);
|
||||
}
|
||||
|
||||
return (all_found ? EXECUTION_SUCCESS : EXECUTION_FAILURE);
|
||||
return (sh_chkwrite (all_found ? EXECUTION_SUCCESS : EXECUTION_FAILURE));
|
||||
}
|
||||
|
||||
+1
-1
@@ -437,7 +437,7 @@ ulimit_builtin (WORD_LIST *list)
|
||||
if (ulimit_internal (cmdlist[c].cmd, cmdlist[c].arg, mode, ncmd > 1) == EXECUTION_FAILURE)
|
||||
return (EXECUTION_FAILURE);
|
||||
|
||||
return (EXECUTION_SUCCESS);
|
||||
return (sh_chkwrite (EXECUTION_SUCCESS));
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user