* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.

This commit is contained in:
Eric Blake 2007-05-25 17:05:09 +00:00
parent d9a1ecc006
commit f5c58e9a34
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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>

View File

@ -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 */