From: Jim Meyering Date: Sun, 7 May 2000 14:47:44 +0000 (+0000) Subject: Include "closeout.h". X-Git-Tag: SH-UTILS-2_0h~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=309c1c3e47655f610c3c169bc19de9d4a3fc92a1;p=thirdparty%2Fcoreutils.git Include "closeout.h". (usage): Call close_stdout just before exit. --- diff --git a/src/true.c b/src/true.c index 1ea0d0d7ae..d28bec34b2 100644 --- a/src/true.c +++ b/src/true.c @@ -3,6 +3,7 @@ #include #include "system.h" #include "version-etc.h" +#include "closeout.h" #define PROGRAM_NAME "true" #define AUTHORS "no one" @@ -25,6 +26,7 @@ These option names may not be abbreviated.\n\ ") , program_name, program_name); puts (_("\nReport bugs to .")); + close_stdout (); exit (status); }