about summary refs log tree commit diff
path: root/stdio-common/bug18a.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-07 21:38:43 +0000
committerUlrich Drepper <drepper@redhat.com>2007-07-07 21:38:43 +0000
commite9055017f6d2015c4c74c94b1c2bf59968db223f (patch)
tree81fd5f6ba0e21c9d2d9465120e710248649191c1 /stdio-common/bug18a.c
parentc2c7bd3f865be02443c65e9a4e57b7d96cde145a (diff)
downloadglibc-e9055017f6d2015c4c74c94b1c2bf59968db223f.tar.gz
glibc-e9055017f6d2015c4c74c94b1c2bf59968db223f.tar.xz
glibc-e9055017f6d2015c4c74c94b1c2bf59968db223f.zip
* libio/wstrops.c (_IO_wstr_underflow): Clear errno before
	returning WEOF.
	* stdio-common/Makefile (tests): Add bug18a.
	* stdio-common/bug18a.c: New file.
Diffstat (limited to 'stdio-common/bug18a.c')
-rw-r--r--stdio-common/bug18a.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdio-common/bug18a.c b/stdio-common/bug18a.c
new file mode 100644
index 0000000000..663cbf4fb7
--- /dev/null
+++ b/stdio-common/bug18a.c
@@ -0,0 +1,6 @@
+#include <wchar.h>
+#define CHAR wchar_t
+#define L(str) L##str
+#define SSCANF swscanf
+
+#include "bug18.c"