Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/libbb/fflush_stdout_and_exit.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/libbb/fflush_stdout_and_exit.c
r2725 r3621 16 16 void FAST_FUNC fflush_stdout_and_exit(int retval) 17 17 { 18 xfunc_error_retval = retval; 18 19 if (fflush(stdout)) 19 20 bb_perror_msg_and_die(bb_msg_standard_output); 20 21 if (ENABLE_FEATURE_PREFER_APPLETS && die_sleep < 0) { 22 /* We are in NOFORK applet. Do not exit() directly, 23 * but use xfunc_die() */ 24 xfunc_error_retval = retval; 25 xfunc_die(); 26 } 27 28 exit(retval); 21 /* In case we are in NOFORK applet. Do not exit() directly, 22 * but use xfunc_die() */ 23 xfunc_die(); 29 24 }
Note:
See TracChangeset
for help on using the changeset viewer.