diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-03-30 13:26:35 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-03-30 13:26:35 +0000 |
commit | cc4cacc73674b145304d8aafa7485e7619a00406 (patch) | |
tree | bbe4ef7b4b63c06c6e6eabd23ec00c1901d3d041 | |
parent | 4d3633808156b5e71f3e572d894fb9da7ebf2c27 (diff) |
Notes
-rw-r--r-- | lib/libc/stdio/freopen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/stdio/freopen.c b/lib/libc/stdio/freopen.c index 8138a6b2885e..e0104c88eef6 100644 --- a/lib/libc/stdio/freopen.c +++ b/lib/libc/stdio/freopen.c @@ -78,7 +78,6 @@ freopen(const char * __restrict file, const char * __restrict mode, * re-open the same file with a different mode. We allow this only * if the modes are compatible. */ - sverrno = 0; if (file == NULL) { /* See comment below regarding freopen() of closed files. */ if (fp->_flags == 0) { |