aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-01 20:14:07 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-01 20:14:07 +0000
commit6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70 (patch)
treee715da4c7e1ec8b4f830fbe00ab28872ecb07be3 /stdio-common
parent38d7adc4e997d0503473938a05364fa752e516f7 (diff)
downloadglibc-6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70.tar
glibc-6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70.tar.gz
glibc-6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70.tar.bz2
glibc-6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70.zip
Update.
2000-12-01 Ulrich Drepper <drepper@redhat.com> * configure.in: Correct test for pserver CVS access.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfscanf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 2326801580..9a841edd8a 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -87,7 +87,7 @@
# define ISDIGIT(Ch) iswdigit (Ch)
# define ISXDIGIT(Ch) iswxdigit (Ch)
# define TOLOWER(Ch) towlower (Ch)
-# define ORIENT if (_IO_fwide (s, -1) != -1) return WEOF
+# define ORIENT if (_IO_fwide (s, 1) != 1) return WEOF
# define __strtoll_internal __wcstoll_internal
# define __strtoull_internal __wcstoull_internal
# define __strtol_internal __wcstol_internal
@@ -116,7 +116,8 @@
# define ISDIGIT(Ch) isdigit (Ch)
# define ISXDIGIT(Ch) isxdigit (Ch)
# define TOLOWER(Ch) tolower (Ch)
-# define ORIENT if (s->_vtable_offset == 0 && _IO_fwide (s, 1) != 1)\
+# define ORIENT if (s->_vtable_offset == 0 \
+ && _IO_fwide (s, -1) != -1) \
return EOF
# define L_(Str) Str