diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/fileops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/fileops.c b/libio/fileops.c index 678e32a..343afa6 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -175,6 +175,8 @@ _IO_new_file_close_it (fp) else write_status = _IO_SYSSEEK (fp, o, SEEK_SET) < 0 ? EOF : 0; } + else + write_status = 0; INTUSE(_IO_unsave_markers) (fp); |