diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/ls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 1c1544a34..2e68eb848 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -777,6 +777,9 @@ static const unsigned opt_flags[] = { | |||
777 | }; | 777 | }; |
778 | 778 | ||
779 | 779 | ||
780 | /* THIS IS A "SAFE" APPLET, main() MAY BE CALLED INTERNALLY FROM SHELL */ | ||
781 | /* BE CAREFUL! */ | ||
782 | |||
780 | int ls_main(int argc, char **argv); | 783 | int ls_main(int argc, char **argv); |
781 | int ls_main(int argc, char **argv) | 784 | int ls_main(int argc, char **argv) |
782 | { | 785 | { |
@@ -797,8 +800,6 @@ int ls_main(int argc, char **argv) | |||
797 | USE_FEATURE_AUTOWIDTH(char *terminal_width_str = NULL;) | 800 | USE_FEATURE_AUTOWIDTH(char *terminal_width_str = NULL;) |
798 | USE_FEATURE_LS_COLOR(char *color_opt;) | 801 | USE_FEATURE_LS_COLOR(char *color_opt;) |
799 | 802 | ||
800 | setvbuf(stdout, bb_common_bufsiz1, _IOFBF, BUFSIZ); | ||
801 | |||
802 | #if ENABLE_FEATURE_LS_TIMESTAMPS | 803 | #if ENABLE_FEATURE_LS_TIMESTAMPS |
803 | time(¤t_time_t); | 804 | time(¤t_time_t); |
804 | #endif | 805 | #endif |