Displaying 2 results from an estimated 2 matches for "setinteract".
Did you mean:
redinteract
2004 Oct 18
0
Error building ash: trap.c:398: error: conflicting types for 'onsig'
...ixes it for me:
--- ash/trap.h.old 2004-10-19 00:04:21.021269720 +0000
+++ ash/trap.h 2004-10-19 00:04:37.218807320 +0000
@@ -40,7 +40,7 @@
void clear_traps(int);
long setsignal(int, int);
void ignoresig(int, int);
-void onsig(int);
+__cdecl void onsig(int);
void dotrap(void);
void setinteractive(int);
void exitshell(int) __attribute__((__noreturn__));
Daniel Thaler
2020 Mar 28
0
[klibc:update-dash] dash: eval: Add vfork support
...igset_t mask;
+
+ sigfillset(&mask);
+ sigprocmask(SIG_SETMASK, &mask, oldmask);
+}
+
/*
* Human-readable signal name
*/
diff --git a/usr/dash/trap.h b/usr/dash/trap.h
index a095b0e1..bbff1842 100644
--- a/usr/dash/trap.h
+++ b/usr/dash/trap.h
@@ -50,6 +50,7 @@ void dotrap(void);
void setinteractive(int);
void exitshell(void) __attribute__((__noreturn__));
int decode_signal(const char *, int);
+void sigblockall(sigset_t *oldmask);
const char *signal_name(int);
static inline int have_traps(void)