diff options
Diffstat (limited to 'newlib/libc/stdio/refill.c')
-rw-r--r-- | newlib/libc/stdio/refill.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdio/refill.c b/newlib/libc/stdio/refill.c index 9e76e66..27266ce 100644 --- a/newlib/libc/stdio/refill.c +++ b/newlib/libc/stdio/refill.c @@ -45,6 +45,8 @@ _DEFUN(__srefill_r, (ptr, fp), CHECK_INIT (ptr, fp); + ORIENT (fp, -1); + fp->_r = 0; /* largely a convenience for callers */ #ifndef __CYGWIN__ |