diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-09-06 22:16:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-09-06 22:16:55 +0000 |
commit | 39d31947cfc072d319ed5c5e69a0dfcd9c98e7d5 (patch) | |
tree | aeac85e24cf537be551f04272559a0943ef45ea4 /stdio-common | |
parent | 7fcc87f4673c79e7dbcc7d972e646383b5e47ce3 (diff) | |
download | glibc-39d31947cfc072d319ed5c5e69a0dfcd9c98e7d5.zip glibc-39d31947cfc072d319ed5c5e69a0dfcd9c98e7d5.tar.gz glibc-39d31947cfc072d319ed5c5e69a0dfcd9c98e7d5.tar.bz2 |
Update.
1999-09-06 Ulrich Drepper <drepper@cygnus.com>
* time/ap.c: Removed. It was not used.
* time/date.c: Likewise.
* sysdeps/unix/nlist.c: Likewise.
* sysdeps/generic/nlist.c: Likewise.
* sysdeps/generic/varargs.h: Likewise.
* stdio-common/scanf11.c: Likewise.
* stdio-common/scanf6.c: Likewise.
* scripts/=__ify: Likewise.
* scripts/printsources: Likewise.
* resolv/getnetnamadr.c: Likewise.
* posix/id.c: Likewise.
* misc/ioctltst.c: Likewise.
* misc/nlist.h: Likewise.
* math/test-math.h: Likewise.
* include/nlist.h: Likewise.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/scanf11.c | 14 | ||||
-rw-r--r-- | stdio-common/scanf6.c | 16 |
2 files changed, 0 insertions, 30 deletions
diff --git a/stdio-common/scanf11.c b/stdio-common/scanf11.c deleted file mode 100644 index 50ef26a..0000000 --- a/stdio-common/scanf11.c +++ /dev/null @@ -1,14 +0,0 @@ -/* This test comes from ISO C Corrigendum 1. */ -#include <stdio.h> - -int -main (int argc, char *argv[]) -{ - int d1, n1, n2, i; -#define NOISE 1234567 - int d2 = NOISE; - - i = sscanf ("123", "%d%n%n%d", &d1, &n1, &n2, &d2); - - return i != 3 || d1 != 123 || n1 != 3 || n2 != 3 || d2 != NOISE; -} diff --git a/stdio-common/scanf6.c b/stdio-common/scanf6.c deleted file mode 100644 index 882e857..0000000 --- a/stdio-common/scanf6.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -int -main (int argc, char *argv[]) -{ - int n = -1; - char c = '!'; - int ret; - - ret = sscanf ("0x", "%i%c", &n, &c); - printf ("ret: %d, n: %d, c: %c\n", ret, n, c); - if (ret != 2 || n != 0 || c != 'x') - abort (); - return 0; -} |