about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2018-12-31 19:14:28 -0800
committerPaul Pluzhnikov <ppluzhnikov@google.com>2019-01-31 14:07:45 -0800
commit5f10701fdc7a4708101f7931c15b7146c4f06690 (patch)
tree826e0575534318f16626af321a3c88cdd2761dfd /libio/Makefile
parent583dd860d5b833037175247230a328f0050dbfe9 (diff)
downloadglibc-5f10701fdc7a4708101f7931c15b7146c4f06690.tar.gz
glibc-5f10701fdc7a4708101f7931c15b7146c4f06690.tar.xz
glibc-5f10701fdc7a4708101f7931c15b7146c4f06690.zip
libio: use stdout in puts and putchar, etc [BZ #24051].
GLIBC explicitly allows one to assign a new FILE pointer to stdout and
other standard streams.  printf and wprintf were honouring assignment to
stdout and using the new value, but puts, putchar, and wide char variants
did not.

The stdout part is fixed here.  The stdin part will be fixed in a followup.
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 5bee83e55c..dbeba88fc0 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -65,7 +65,7 @@ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc   \
 	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-fgetc-after-eof \
-	tst-sprintf-ub tst-sprintf-chk-ub
+	tst-sprintf-ub tst-sprintf-chk-ub tst-bz24051
 
 tests-internal = tst-vtables tst-vtables-interposed tst-readline