diff options
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/libc/stdio/rewind.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1d017e181..c175b2418 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ +2007-05-25 Eric Blake <ebb9@byu.net> + + * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22. + 2007-05-24 Steve Ellcey <sje@cup.hp.com> - Charles Wilson <libtool@cwilson.fastmail.fm> + Charles Wilson <libtool@cwilson.fastmail.fm> * libtool.m4: removed * configure.in: invoke _LD_DECL_SED before conditionally initializing diff --git a/newlib/libc/stdio/rewind.c b/newlib/libc/stdio/rewind.c index 58f4cc3e8..fb03e5be7 100644 --- a/newlib/libc/stdio/rewind.c +++ b/newlib/libc/stdio/rewind.c @@ -75,7 +75,7 @@ _VOID _DEFUN(rewind, (fp), register FILE * fp) { - _CAST_VOID _fseek_r (_REENT, fp, 0L, SEEK_SET); + _rewind_r (_REENT, fp); } #endif /* !_REENT_ONLY */ |