search for: 5bca9ee8

Displaying 1 result from an estimated 1 matches for "5bca9ee8".

2020 Mar 28
0
[klibc:update-dash] dash: mkinit: Split reset into exitreset and reset
...@@ -114,6 +114,8 @@ main(int argc, char **argv) if (e == EXEXIT || s == 0 || iflag == 0 || shlvl) exitshell(); + reset(); + if (e == EXINT #if ATTY && (! attyset() || equal(termval(), "emacs")) diff --git a/usr/dash/mkinit.c b/usr/dash/mkinit.c index 9714bee0..5bca9ee8 100644 --- a/usr/dash/mkinit.c +++ b/usr/dash/mkinit.c @@ -106,6 +106,13 @@ char init[] = "\ * Initialization code.\n\ */\n"; +char exitreset[] = "\ +/*\n\ + * This routine is called when an error or an interrupt occurs in an\n\ + * interactive shell and control is returned to...