1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-08 17:51:13 +02:00

revert to 1.8, now that we test the offending

condition externally (via new t-fpending.c program)
This commit is contained in:
Jim Meyering
2004-12-05 19:27:47 +00:00
parent 9df080cfc5
commit a2b300f156
+1 -6
View File
@@ -23,15 +23,10 @@
#include "__fpending.h"
#include <stdlib.h>
/* 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;
}