From: Jim Meyering Date: Sun, 5 Dec 2004 19:27:47 +0000 (+0000) Subject: revert to 1.8, now that we test the offending X-Git-Tag: v5.3.0~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b300f1568b593a5e76c3167e3cb551fc08c2db;p=thirdparty%2Fcoreutils.git revert to 1.8, now that we test the offending condition externally (via new t-fpending.c program) --- diff --git a/lib/__fpending.c b/lib/__fpending.c index eeedd65443..007302c8c4 100644 --- a/lib/__fpending.c +++ b/lib/__fpending.c @@ -23,15 +23,10 @@ #include "__fpending.h" -#include - /* Return the number of pending (aka buffered, unflushed) bytes on the stream, FP, that is open for writing. */ size_t __fpending (FILE *fp) { - ptrdiff_t n = PENDING_OUTPUT_N_BYTES; - if (n < 0) - abort (); - return n; + return PENDING_OUTPUT_N_BYTES; }