From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2717 invoked by alias); 3 Feb 2019 09:52:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 2690 invoked by uid 89); 3 Feb 2019 09:52:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=altogether X-HELO: mx1.redhat.com From: Florian Weimer To: Paul Pluzhnikov Cc: GLIBC Devel Subject: Re: [PATCH] libio: Use stdin consistently for input functions [BZ #24153] References: <87tvhnaco6.fsf@oldenburg2.str.redhat.com> Date: Sun, 03 Feb 2019 09:52:00 -0000 In-Reply-To: (Paul Pluzhnikov's message of "Sat, 2 Feb 2019 15:58:12 -0800") Message-ID: <87pns95hci.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-02/txt/msg00056.txt.bz2 * Paul Pluzhnikov: > On Fri, Feb 1, 2019 at 4:58 AM Florian Weimer 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 >> >> [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