commit bash-20080911 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:28:47 -05:00
parent 48ff544772
commit 14e8b2a7df
23 changed files with 336 additions and 108 deletions
+5
View File
@@ -47,6 +47,7 @@ $END
#include "../shell.h"
#include "common.h"
#include "bashgetopt.h"
extern int last_command_exit_value;
extern int subshell_environment;
@@ -59,6 +60,10 @@ int
return_builtin (list)
WORD_LIST *list;
{
if (no_options (list))
return (EX_USAGE);
list = loptend; /* skip over possible `--' */
return_catch_value = get_exitstat (list);
if (return_catch_flag)