diff options
Diffstat (limited to 'libio/rewind.c')
-rw-r--r-- | libio/rewind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/rewind.c b/libio/rewind.c index fb6afbc..a9ea36e 100644 --- a/libio/rewind.c +++ b/libio/rewind.c @@ -34,6 +34,7 @@ rewind (fp) _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); _IO_flockfile (fp); _IO_rewind (fp); + _IO_clearerr (fp); _IO_funlockfile (fp); _IO_cleanup_region_end (0); } |