This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio.


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]