Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-07-10 13:02:34 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-07-10 13:02:34 +0300
commita9047e09807f11bcd62f69c481ce19b2663f8862 (patch)
treedd832a02196a45e75e7c647b86df80f76094b755
parentae351311da0d4e6642f746ae4a9c9a60f83e1e25 (diff)
ash: tweak comments, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 1764b43c9..8bdeb44ae 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -425,9 +425,10 @@ struct globals_misc {
struct jmploc *exception_handler;
/*volatile*/ int suppress_int; /* counter */
- /* ^^^^^^^ removed "volatile" since gcc would turn suppress_int++ into ridiculouls
- * 3-insn sequence otherwise.
- * We don't change suppress_int asyncronously (in a signal handler), but we do read it async.
+ /* ^^^^^^^ removed "volatile" since on x86, gcc turns suppress_int++
+ * into ridiculous 3-insn sequence otherwise.
+ * We don't change suppress_int asyncronously (in a signal handler),
+ * but we do read it async.
*/
volatile /*sig_atomic_t*/ smallint pending_int; /* 1 = got SIGINT */
volatile /*sig_atomic_t*/ smallint got_sigchld; /* 1 = got SIGCHLD */
@@ -9438,7 +9439,7 @@ evaltree(union node *n, int flags)
}
if (flags & EV_EXIT) {
exexit:
- raise_exception(EXEND);
+ raise_exception(EXEND); /* does not return */
}
popstackmark(&smark);
@@ -10466,7 +10467,7 @@ evalcommand(union node *cmd, int flags)
/* We have a redirection error. */
if (spclbltin > 0)
- raise_exception(EXERROR);
+ raise_exception(EXERROR); /* does not return */
goto out;
}
@@ -14571,7 +14572,7 @@ procargs(char **argv)
optlist[i] = 2;
if (options(&login_sh)) {
/* it already printed err message */
- raise_exception(EXERROR);
+ raise_exception(EXERROR); /* does not return */
}
xargv = argptr;
xminusc = minusc;