From 3384a8d67c2e46701356623fdd0a56f3b0734865 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 3 Apr 2002 05:18:32 +0000 Subject: Update. * libio/bug-ungetwc1.c: New file. * libio/Makefile (tests): Add bug-ungetwc1. * libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush if stream was last used for writing. --- libio/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libio/Makefile') diff --git a/libio/Makefile b/libio/Makefile index af91ef2a02..fb42da2c15 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -48,7 +48,8 @@ routines := \ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \ tst_wprintf2 tst-widetext test-fmemopen tst-ext tst-fopenloc \ - tst-fgetws tst-ungetwc1 tst-ungetwc2 tst-swscanf tst-sscanf + tst-fgetws tst-ungetwc1 tst-ungetwc2 tst-swscanf tst-sscanf \ + bug-ungetwc1 test-srcs = test-freopen all: # Make this the default target; it will be defined in Rules. -- cgit v1.2.3-70-g09d2