diff options
Diffstat (limited to 'libio/iofgetpos.c')
-rw-r--r-- | libio/iofgetpos.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libio/iofgetpos.c b/libio/iofgetpos.c index c1330dee29..f3034528f1 100644 --- a/libio/iofgetpos.c +++ b/libio/iofgetpos.c @@ -56,17 +56,13 @@ _IO_new_fgetpos (_IO_FILE *fp, _IO_fpos_t *posp) { /* ANSI explicitly requires setting errno to a positive value on failure. */ -#ifdef EIO if (errno == 0) __set_errno (EIO); -#endif result = EOF; } else if ((_IO_off64_t) (__typeof (posp->__pos)) pos != pos) { -#ifdef EOVERFLOW __set_errno (EOVERFLOW); -#endif result = EOF; } else |