Displaying 5 results from an estimated 5 matches for "exint".
Did you mean:
extint
2019 Jan 25
0
[klibc:update-dash] [ERROR] Set exitstatus in onint
...files changed, 9 insertions(+), 14 deletions(-)
diff --git a/usr/dash/error.c b/usr/dash/error.c
index 9d31989e..f9ea9198 100644
--- a/usr/dash/error.c
+++ b/usr/dash/error.c
@@ -105,6 +105,7 @@ onint(void) {
signal(SIGINT, SIG_DFL);
raise(SIGINT);
}
+ exitstatus = SIGINT + 128;
exraise(EXINT);
/* NOTREACHED */
}
diff --git a/usr/dash/eval.c b/usr/dash/eval.c
index 741bf120..501d47fe 100644
--- a/usr/dash/eval.c
+++ b/usr/dash/eval.c
@@ -853,21 +853,15 @@ bail:
listsetvar(varlist.list, VEXPORT);
}
if (evalbltin(cmdentry.u.cmd, argc, argv, flags)) {
- int status;
- int...
2020 Mar 28
0
[klibc:update-dash] dash: [ERROR] Set exitstatus in onint
...files changed, 9 insertions(+), 14 deletions(-)
diff --git a/usr/dash/error.c b/usr/dash/error.c
index 9d31989e..f9ea9198 100644
--- a/usr/dash/error.c
+++ b/usr/dash/error.c
@@ -105,6 +105,7 @@ onint(void) {
signal(SIGINT, SIG_DFL);
raise(SIGINT);
}
+ exitstatus = SIGINT + 128;
exraise(EXINT);
/* NOTREACHED */
}
diff --git a/usr/dash/eval.c b/usr/dash/eval.c
index 578d8919..b3e971bf 100644
--- a/usr/dash/eval.c
+++ b/usr/dash/eval.c
@@ -853,21 +853,15 @@ bail:
listsetvar(varlist.list, VEXPORT);
}
if (evalbltin(cmdentry.u.cmd, argc, argv, flags)) {
- int status;
- int...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Only restore exit status on exit/return
...usr/dash/main.c | 2 +-
usr/dash/trap.c | 5 ++++-
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/usr/dash/error.h b/usr/dash/error.h
index f91d11d1..8df0134f 100644
--- a/usr/dash/error.h
+++ b/usr/dash/error.h
@@ -69,7 +69,8 @@ extern int exception;
/* exceptions */
#define EXINT 0 /* SIGINT received */
#define EXERROR 1 /* a generic error */
-#define EXEXIT 4 /* exit the shell */
+#define EXEND 3 /* exit the shell */
+#define EXEXIT 4 /* exit the shell via exitcmd */
/*
diff --git a/usr/dash/eval.c b/usr/dash/eval.c
index bba0e7f8..1aad31a0 100644
--- a/usr/dash/ev...
2020 Mar 28
0
[klibc:update-dash] dash: mkinit: Split reset into exitreset and reset
...dash/main.c
+++ b/usr/dash/main.c
@@ -106,7 +106,7 @@ main(int argc, char **argv)
int e;
int s;
- reset();
+ exitreset();
e = exception;
@@ -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";
+ch...
1999 Jan 03
31
Samba problem
Hi,
I have a problem connecting my Windows98 to the Samba server.
The Linux computer comes up in the "Network Neighborhood" control panel,
but when I double click on the icon, W98 asks for a password for the
"\\machine name\IPC$" resource.
But my password will not me accepted. I have logged in as user "root"
with
a given password on both computers.
When I set