projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove overrides for 'broken' stat macros.
[mmh]
/
uip
/
slocal.c
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
37173f6
..
cf91737
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-1065,7
+1065,11
@@
usr_file (int fd, char *mailbox, int mbx_style)
}
/* close and unlock file */
}
/* close and unlock file */
- mbx_close (mailbox, md);
+ if (mbx_close (mailbox, md) == NOTOK) {
+ if (verbose)
+ adorn ("", "error closing:");
+ return -1;
+ }
if (verbose)
verbose_printf (", success.\n");
if (verbose)
verbose_printf (", success.\n");
@@
-1202,7
+1206,7
@@
usr_pipe (int fd, char *cmd, char *pgm, char **vec, int suppress)
* Ruthlessly kill the child and anything
* else in its process group.
*/
* Ruthlessly kill the child and anything
* else in its process group.
*/
- KILLPG(child_id, SIGKILL);
+ killpg(child_id, SIGKILL);
if (verbose)
verbose_printf (", timed-out; terminated\n");
return -1;
if (verbose)
verbose_printf (", timed-out; terminated\n");
return -1;