Blame bash-3.2-execve_catch_signals.patch
|
Roman Rakus |
ef575b |
diff -up bash-3.2/execute_cmd.c.execve_catch_signals bash-3.2/execute_cmd.c
|
|
Roman Rakus |
ef575b |
--- bash-3.2/execute_cmd.c.execve_catch_signals 2008-09-16 14:28:25.000000000 +0200
|
|
Roman Rakus |
ef575b |
+++ bash-3.2/execute_cmd.c 2008-09-16 14:52:14.000000000 +0200
|
|
Roman Rakus |
ef575b |
@@ -99,6 +99,8 @@ extern int errno;
|
|
Roman Rakus |
ef575b |
# include "bashhist.h"
|
|
Roman Rakus |
ef575b |
#endif
|
|
Roman Rakus |
ef575b |
|
|
Roman Rakus |
ef575b |
+#include "quit.h"
|
|
Roman Rakus |
ef575b |
+
|
|
Roman Rakus |
ef575b |
extern int posixly_correct;
|
|
Roman Rakus |
ef575b |
extern int breaking, continuing, loop_level;
|
|
Roman Rakus |
ef575b |
extern int expand_aliases;
|
|
Roman Rakus |
ef575b |
@@ -3943,6 +3945,7 @@ shell_execve (command, args, env)
|
|
Roman Rakus |
ef575b |
SETOSTYPE (0); /* Some systems use for USG/POSIX semantics */
|
|
Roman Rakus |
ef575b |
execve (command, args, env);
|
|
Roman Rakus |
ef575b |
i = errno; /* error from execve() */
|
|
Roman Rakus |
ef575b |
+ CHECK_TERMSIG;
|
|
Roman Rakus |
ef575b |
SETOSTYPE (1);
|
|
Roman Rakus |
ef575b |
|
|
Roman Rakus |
ef575b |
/* If we get to this point, then start checking out the file.
|