aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-01-06 07:46:38 +0000
committerRon Yorston <rmy@pobox.com>2022-01-06 07:46:38 +0000
commitb8751bbc9ac24e71fbe1e79c69074b4c87a134d8 (patch)
tree336d653df8387b9b1d3c6e46caa373c00cb9b2b2 /shell
parentb15f68214da209b5b293039c09c00f490c0cc193 (diff)
parent6062c0d19bc201cbeb61b8875598cdd7a14a5ae0 (diff)
downloadbusybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.tar.gz
busybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.tar.bz2
busybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.zip
Merge busybox into merge
Fix merge conflict in miscutils/less.c. Use exit_SUCCESS() where possible.
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/hush.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index ad1e5ba7e..09659c1da 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6132,7 +6132,7 @@ openhere(union node *redir)
6132 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN); 6132 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN);
6133 signal(SIGPIPE, SIG_DFL); 6133 signal(SIGPIPE, SIG_DFL);
6134 xwrite(pip[1], p, len); 6134 xwrite(pip[1], p, len);
6135 _exit(EXIT_SUCCESS); 6135 _exit_SUCCESS();
6136 } 6136 }
6137#endif 6137#endif
6138 out: 6138 out:
@@ -15860,7 +15860,7 @@ forkshell_openhere(struct forkshell *fs)
15860 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN); 15860 ignoresig(SIGTSTP); //signal(SIGTSTP, SIG_IGN);
15861 signal(SIGPIPE, SIG_DFL); 15861 signal(SIGPIPE, SIG_DFL);
15862 xwrite(pip[1], p, len); 15862 xwrite(pip[1], p, len);
15863 _exit(EXIT_SUCCESS); 15863 _exit_SUCCESS();
15864} 15864}
15865 15865
15866static void 15866static void
diff --git a/shell/hush.c b/shell/hush.c
index 6a27b1634..982fc356a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8587,7 +8587,7 @@ static NOINLINE void pseudo_exec_argv(nommu_save_t *nommu_save,
8587 * expand_assignments(): think about ... | var=`sleep 1` | ... 8587 * expand_assignments(): think about ... | var=`sleep 1` | ...
8588 */ 8588 */
8589 free_strings(new_env); 8589 free_strings(new_env);
8590 _exit(EXIT_SUCCESS); 8590 _exit_SUCCESS();
8591 } 8591 }
8592 8592
8593 sv_shadowed = G.shadowed_vars_pp; 8593 sv_shadowed = G.shadowed_vars_pp;
@@ -8768,7 +8768,7 @@ static void pseudo_exec(nommu_save_t *nommu_save,
8768 8768
8769 /* Case when we are here: ... | >file */ 8769 /* Case when we are here: ... | >file */
8770 debug_printf_exec("pseudo_exec'ed null command\n"); 8770 debug_printf_exec("pseudo_exec'ed null command\n");
8771 _exit(EXIT_SUCCESS); 8771 _exit_SUCCESS();
8772} 8772}
8773 8773
8774#if ENABLE_HUSH_JOB 8774#if ENABLE_HUSH_JOB