path, arg, WTERMSIG(rv), strsignal(WTERMSIG(rv)),
WCOREDUMP(rv) ? " - core dumped" : "");
else
path, arg, WTERMSIG(rv), strsignal(WTERMSIG(rv)),
WCOREDUMP(rv) ? " - core dumped" : "");
else
- Message(M_ERR, "sys_cmd(%s,%s,...) exited with wstat %#x",
+ Message(M_ERR, "sys_cmd(%s,%s,...) exited with wstat %#x\n",
static afterpoll_fn signal_afterpoll;
static void signal_afterpoll(void *st, struct pollfd *fds, int nfds)
{
static afterpoll_fn signal_afterpoll;
static void signal_afterpoll(void *st, struct pollfd *fds, int nfds)
{
- read(spr,buf,16); /* We don't actually care what we read; as
+ discard(read(spr,buf,16));
+ /* We don't actually care what we read; as
long as there was at least one byte
(which there was) we'll pick up the
signals in the pending set */
long as there was at least one byte
(which there was) we'll pick up the
signals in the pending set */
- write(spw,&thing,1); /* We don't care if this fails (i.e. the pipe
+ discard(write(spw,&thing,1));
+ /* We don't care if this fails (i.e. the pipe