From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130908 invoked by alias); 12 Mar 2018 22:46:17 -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 130888 invoked by uid 89); 12 Mar 2018 22:46:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.6 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=44d5, 58ca, 942b, 6d53 X-HELO: mail-out.m-online.net X-Auth-Info: KdJEEMwavrIs0TwqLu22jUOPcEyK8ibn1TKPZG6H6zJgM9IoUoF9tmmgtaZ0tXZs From: Andreas Schwab To: Zack Weinberg Cc: libc-alpha@sourceware.org, joseph@codesourcery.com, siddhesh@gotplt.org Subject: Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio. References: <20180222002306.5998-1-zackw@panix.com> X-Yow: YOU PICKED KARL MALDEN'S NOSE!! Date: Mon, 12 Mar 2018 22:46:00 -0000 In-Reply-To: <20180222002306.5998-1-zackw@panix.com> (Zack Weinberg's message of "Wed, 21 Feb 2018 19:23:06 -0500") Message-ID: <87zi3c9aks.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-03/txt/msg00300.txt.bz2 On Feb 21 2018, Zack Weinberg wrote: > [BZ 1190] > * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately > if the _IO_EOF_SEEN bit is already set; update commentary. > * libio/oldfileops.c (_IO_old_file_underflow): Likewise. > * libio/wfileops.c (_IO_wfile_underflow): Likewise. > > * support/support_openpty.c, support/tty.h: New files. > * support/Makefile (libsupport-routines): Add support_openpty. > > * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c: > New test cases. > * libio/Makefile (tests): Add tst-fgetc-after-eof. > * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof. Ok. > diff --git a/libio/Makefile b/libio/Makefile > index 3e08ed0eeb..a2e1c09e1c 100644 > --- a/libio/Makefile > +++ b/libio/Makefile > @@ -64,7 +64,8 @@ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \ > bug-memstream1 bug-wmemstream1 \ > tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos tst-fseek \ > tst-fwrite-error tst-ftell-partial-wide tst-ftell-active-handler \ > - tst-ftell-append tst-fputws tst-bz22415 > + tst-ftell-append tst-fputws tst-bz22415 tst-fgetc-after-eof \ Spurious backslash. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."