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:
+1
-6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user