aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/scanf7.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-13 19:03:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-13 19:03:53 +0000
commit77d10f94bf43b73394f9a3eaf1052c4bfc52905f (patch)
treea13eea72d219ae48f4ee3a283ad5c549549676bf /stdio-common/scanf7.c
parent47b856a9eac04e1e18d949cc751c397610bba429 (diff)
downloadglibc-77d10f94bf43b73394f9a3eaf1052c4bfc52905f.zip
glibc-77d10f94bf43b73394f9a3eaf1052c4bfc52905f.tar.gz
glibc-77d10f94bf43b73394f9a3eaf1052c4bfc52905f.tar.bz2
Update.
* version.h (VERSION): Bump to 2.0.102. * stdio-common/tstdiomisc.c (t2): Update test case for last scanf change. * stdio-common/scanf7.c (main): Likewise. 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'stdio-common/scanf7.c')
-rw-r--r--stdio-common/scanf7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/scanf7.c b/stdio-common/scanf7.c
index 17d0872..c746e47 100644
--- a/stdio-common/scanf7.c
+++ b/stdio-common/scanf7.c
@@ -16,7 +16,7 @@ main (int argc, char *argv[])
n = -2;
ret = sscanf ("1000", "%llld", &n);
printf ("%%llld: ret: %d, n: %Ld\n", ret, n);
- if (ret != 0 || n >= 0L)
+ if (ret > 0 || n >= 0L)
abort ();
return 0;