[PATCH] libio: Use stdin consistently for input functions [BZ #24153]
Florian Weimer
fweimer@redhat.com
Sun Feb 3 09:52:00 GMT 2019
* Paul Pluzhnikov:
> On Fri, Feb 1, 2019 at 4:58 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> The internal _IO_stdin_ variable is not updated when the application
>> assigns to stdin, which is a GNU extension.
>>
>> 2019-02-01 Florian Weimer <fweimer@redhat.com>
>>
>> [BZ #24153]
>
> I didn't realize there was a separate (from BZ 24051) bug for stdin,
> and prepared effectively this same patch.
>
> Looks good to me.
> Thanks!
Thanks, and sorry about that. I have pushed my patch.
I'm testing another patch which removes the internal pointer variables
altogether, similar to what I posted before.
Florian
More information about the Libc-alpha
mailing list