projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9f1f7
)
use bb_fflush_stdout_and_exit instead of exit
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:41:51 +0000
(
01:41
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:41:51 +0000
(
01:41
-0000)
coreutils/printenv.c
patch
|
blob
|
history
diff --git
a/coreutils/printenv.c
b/coreutils/printenv.c
index 10f9dd22ae057da2616fe96c7464036102f9edc4..753f7cb4da4f219eb4f2bc91ad33bcd235c9279d 100644
(file)
--- a/
coreutils/printenv.c
+++ b/
coreutils/printenv.c
@@
-23,6
+23,7
@@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include "busybox.h"
int printenv_main(int argc, char **argv)
{
@@
-48,5
+49,5
@@
int printenv_main(int argc, char **argv)
}
}
-
exit(EXIT_SUCCESS
);
+
bb_fflush_stdout_and_exit(
);
}