2008-03-11 Jeff Johnston <jjohnstn@redhat.com>

* libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
        stdin gets resolved properly before refilling.
This commit is contained in:
Jeff Johnston 2008-03-11 19:13:30 +00:00
parent 88348faf5b
commit d84985f794
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
2008-03-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/rgetc.c (__srget): Invoke CHECK_INIT to ensure
* libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
stdin gets resolved properly before refilling.
2008-03-07 Jeff Johnston <jjohnstn@redhat.com>

View File

@ -38,7 +38,7 @@ _DEFUN(__srget_r, (ptr, fp),
{
/* Ensure that any fake std stream is resolved before
we call __srefill_r so we may access the true read buffer. */
CHECK_INIT(fp);
CHECK_INIT(ptr, fp);
if (__srefill_r (ptr, fp) == 0)
{