This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org, joseph at codesourcery dot com, siddhesh at gotplt dot org
- Date: Mon, 12 Mar 2018 23:46:11 +0100
- Subject: Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio.
- Authentication-results: sourceware.org; auth=none
- References: <20180222002306.5998-1-zackw@panix.com>
On Feb 21 2018, Zack Weinberg <zackw@panix.com> 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."