From: Jim Meyering Date: Fri, 5 May 2000 21:51:02 +0000 (+0000) Subject: Include "closeout.h". X-Git-Tag: SH-UTILS-2_0h~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2fde491db4582e3e2832b87001155e761b7db37;p=thirdparty%2Fcoreutils.git Include "closeout.h". (main): Call close_stdout. --- diff --git a/src/seq.c b/src/seq.c index c8242e0309..def96ae818 100644 --- a/src/seq.c +++ b/src/seq.c @@ -24,6 +24,7 @@ #include #include "system.h" +#include "closeout.h" #include "error.h" #include "xstrtol.h" #include "xstrtod.h" @@ -454,5 +455,7 @@ format string may not be specified when printing equal width strings")); errs = print_numbers (format_str); + close_stdout (); + exit (errs); }