From: Jim Meyering Date: Sun, 7 May 2000 15:00:12 +0000 (+0000) Subject: Include "closeout.h". X-Git-Tag: SH-UTILS-2_0h~6 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=661f74698e1dd439561d42dd0df0a801312f73b0;p=thirdparty%2Fcoreutils.git Include "closeout.h". (usage): Call close_stdout just before exit. --- diff --git a/src/sleep.c b/src/sleep.c index f5d4361953..b00c9f771d 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -36,6 +36,7 @@ #include "long-options.h" #include "nanosleep.h" #include "xstrtod.h" +#include "closeout.h" #if HAVE_FENV_H # include @@ -80,6 +81,7 @@ point number.\n\ "), program_name, program_name); puts (_("\nReport bugs to .")); + close_stdout (); } exit (status); }