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:
parent
88348faf5b
commit
d84985f794
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue