-This directory contains the version 2.0.100 test release of the GNU C Library.
+This directory contains the version 2.0.101 test release of the GNU C Library.
Many bugs have been fixed since the last release.
Some bugs surely remain.
Because of the United States export restriction on DES implementations,
we are distributing this code separately from the rest of the C
library. There is an extra distribution tar file just for crypt; it is
-called `glibc-crypt-2.0.100.tar.gz'. You can just unpack the crypt
+called `glibc-crypt-2.0.101.tar.gz'. You can just unpack the crypt
distribution along with the rest of the C library and build; you can
also build the library without getting crypt. Users outside the USA
can get the crypt distribution via anonymous FTP from ftp.ifi.uio.no
int retval;
#define SCAN(INPUT, FORMAT, VAR, EXP_RES, EXP_VAL) \
VAR = -1; \
- retval = sscanf (INPUT, FORMAT, &VAR); \
+ retval = sscanf (INPUT, FORMAT, &VAR); \
printf ("sscanf (\"%s\", \"%s\", &x) => %d, x = %ld\n", \
INPUT, FORMAT, retval, VAR); \
result |= retval != EXP_RES || VAR != EXP_VAL
SCAN ("12345", "%ld", N, 1, 12345);
- SCAN ("12345", "%llllld", N, 0, -1);
- SCAN ("12345", "%LLLLLd", N, 0, -1);
+ SCAN ("12345", "%llllld", N, -1, -1);
+ SCAN ("12345", "%LLLLLd", N, -1, -1);
SCAN ("test ", "%*s%n", n, 0, 4);
- SCAN ("test ", "%2*s%n", n, 0, -1);
- SCAN ("12 ", "%l2d", n, 0, -1);
+ SCAN ("test ", "%2*s%n", n, -1, -1);
+ SCAN ("12 ", "%l2d", n, -1, -1);
SCAN ("12 ", "%2ld", N, 1, 12);
return result;