diff --git a/check.t b/check.t index 62f437d..70ba9bd 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.240 2008/11/08 17:36:35 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.241 2008/11/09 20:32:16 tg Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ @@ -7,7 +7,7 @@ # http://www.research.att.com/~gsf/public/ifs.sh expected-stdout: - @(#)MIRBSD KSH R36 2008/11/02 + @(#)MIRBSD KSH R36 2008/11/09 description: Check version of shell. stdin: diff --git a/histrap.c b/histrap.c index 4d4b568..336eb31 100644 --- a/histrap.c +++ b/histrap.c @@ -3,7 +3,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.73 2008/10/28 14:32:41 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.74 2008/11/09 20:32:17 tg Exp $"); /*- * MirOS: This is the default mapping type, and need not be specified. @@ -1033,7 +1033,7 @@ inittraps(void) } sigtraps[SIGEXIT_].name = "EXIT"; /* our name for signal 0 */ - sigemptyset(&Sigact_ign.sa_mask); + (void)sigemptyset(&Sigact_ign.sa_mask); Sigact_ign.sa_flags = 0; /* interruptible */ Sigact_ign.sa_handler = SIG_IGN; @@ -1379,7 +1379,7 @@ setsig(Trap *p, sig_t f, int flags) if (p->cursig != f) { p->cursig = f; - sigemptyset(&sigact.sa_mask); + (void)sigemptyset(&sigact.sa_mask); sigact.sa_flags = 0 /* interruptible */; sigact.sa_handler = f; sigaction(p->signal, &sigact, NULL); diff --git a/jobs.c b/jobs.c index 6c5c80f..3d2f08c 100644 --- a/jobs.c +++ b/jobs.c @@ -2,7 +2,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.38 2008/10/26 21:51:26 ahoka Exp $"); +__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.39 2008/11/09 20:32:18 tg Exp $"); /* Order important! */ #define PRUNNING 0 @@ -120,10 +120,10 @@ static int kill_job(Job *, int); void j_init(int mflagset) { - sigemptyset(&sm_default); + (void)sigemptyset(&sm_default); sigprocmask(SIG_SETMASK, &sm_default, NULL); - sigemptyset(&sm_sigchld); + (void)sigemptyset(&sm_sigchld); sigaddset(&sm_sigchld, SIGCHLD); setsig(&sigtraps[SIGCHLD], j_sigchld, diff --git a/sh.h b/sh.h index 42b5cde..31f9757 100644 --- a/sh.h +++ b/sh.h @@ -103,9 +103,9 @@ #define __SCCSID(x) __IDSTRING(sccsid,x) #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.250 2008/11/02 22:29:36 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.251 2008/11/09 20:32:18 tg Exp $"); #endif -#define MKSH_VERSION "R36 2008/11/02" +#define MKSH_VERSION "R36 2008/11/09" #ifndef MKSH_INCLUDES_ONLY