This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The appended patch fixes a number of problems in the testsuite. I've commited the patch after testing on x86-64, Andreas 2003-06-25 Andreas Jaeger <aj@suse.de> * posix/transbug.c: Include <string.h> for memset and strlen declarations. * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include <time.h> for nanosleep declaration. ============================================================ Index: posix/transbug.c --- posix/transbug.c 12 Jun 2003 18:11:16 -0000 1.2 +++ posix/transbug.c 25 Jun 2003 10:56:11 -0000 @@ -5,6 +5,7 @@ #include <regex.h> #include <stdlib.h> #include <unistd.h> +#include <string.h> /* lowercase chars mapped to uppercase */ static const char casetable[] = { ============================================================ Index: stdio-common/tst-sprintf.c --- stdio-common/tst-sprintf.c 27 May 2003 07:39:34 -0000 1.2 +++ stdio-common/tst-sprintf.c 25 Jun 2003 10:56:11 -0000 @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> #include <string.h> ============================================================ Index: stdlib/tst-strtod.c --- stdlib/tst-strtod.c 20 Mar 2003 01:06:11 -0000 1.23 +++ stdlib/tst-strtod.c 25 Jun 2003 10:56:11 -0000 @@ -153,7 +153,7 @@ main (int argc, char ** argv) if (strtold (input2, NULL) != +1.000000000116415321826934814453125) { printf ("input2: %La != %La\n", strtold (input2, NULL), - +1.000000000116415321826934814453125); + +1.000000000116415321826934814453125L); status = 1; } ============================================================ Index: test-skeleton.c --- test-skeleton.c 25 Jun 2003 07:35:31 -0000 1.25 +++ test-skeleton.c 25 Jun 2003 10:56:11 -0000 @@ -29,6 +29,7 @@ #include <sys/resource.h> #include <sys/wait.h> #include <sys/param.h> +#include <time.h> /* The test function is normally called `do_test' and it is called with argc and argv as the arguments. We nevertheless provide the -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |