From a2b300f1568b593a5e76c3167e3cb551fc08c2db Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Dec 2004 19:27:47 +0000 Subject: revert to 1.8, now that we test the offending condition externally (via new t-fpending.c program) --- lib/__fpending.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/__fpending.c b/lib/__fpending.c index eeedd6544..007302c8c 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; } -- cgit v1.2.3-70-g09d2