summary refs log tree commit diff
path: root/libio/tst-wmemstream1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-12 02:03:42 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-12 02:03:42 +0000
commitbb10459f2d534f67ebe771bed85e4ebfcd9eacd1 (patch)
treed8f06d6ce03d5289e07b68f0d1726b31a6d9339d /libio/tst-wmemstream1.c
parent37169cccddb401c9efeac446703dff7f815b5d1d (diff)
downloadglibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.tar.gz
glibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.tar.xz
glibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.zip
* libio/wmemstream.c: New file.
	* libio/Makefile (routines): Add wmemstream.
	(tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
	tst-wmemstream2.
	* libio/tst-memstream1.c: New file.
	* libio/tst-memstream2.c: New file.
	* libio/tst-wmemstream1.c: New file.
	* libio/tst-wmemstream2.c: New file.

	* libio/memstream.c (_IO_mem_sync): Remove useless call to
	_IO_default_sync.
Diffstat (limited to 'libio/tst-wmemstream1.c')
-rw-r--r--libio/tst-wmemstream1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/tst-wmemstream1.c b/libio/tst-wmemstream1.c
new file mode 100644
index 0000000000..0c59c1adcb
--- /dev/null
+++ b/libio/tst-wmemstream1.c
@@ -0,0 +1,5 @@
+#define CHAR_T wchar_t
+#define W(o) L##o
+#define OPEN_MEMSTREAM open_wmemstream
+
+#include "tst-memstream1.c"