aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 21:38:30 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 21:38:30 +0000
commit48b6c559ccf5bc74eaa7e334310e9edf367033e2 (patch)
tree14183fd728ce51ae10baee70f7d8f72c39d30649 /libbb/xfuncs.c
parent04c078dac604c21cf593a3298f788f69b7f739e6 (diff)
downloadbusybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.gz
busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.bz2
busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.zip
make a few struct bb_applet members conditional
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig git-svn-id: svn://busybox.net/trunk/busybox@18391 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index fa4a15236..b9d013a24 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -476,7 +476,7 @@ void xprint_and_close_file(FILE *file)
476 fflush(stdout); 476 fflush(stdout);
477 // copyfd outputs error messages for us. 477 // copyfd outputs error messages for us.
478 if (bb_copyfd_eof(fileno(file), 1) == -1) 478 if (bb_copyfd_eof(fileno(file), 1) == -1)
479 sleep_and_die(); 479 xfunc_die();
480 480
481 fclose(file); 481 fclose(file);
482} 482}