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
This commit is contained in:
@@ -476,7 +476,7 @@ void xprint_and_close_file(FILE *file)
|
||||
fflush(stdout);
|
||||
// copyfd outputs error messages for us.
|
||||
if (bb_copyfd_eof(fileno(file), 1) == -1)
|
||||
sleep_and_die();
|
||||
xfunc_die();
|
||||
|
||||
fclose(file);
|
||||
}
|
||||
|
Reference in New Issue
Block a user