From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22578 invoked by alias); 25 Jun 2003 11:09:12 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 17407 invoked from network); 25 Jun 2003 11:04:38 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 25 Jun 2003 11:04:38 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 80AD914CE6 for ; Wed, 25 Jun 2003 13:04:37 +0200 (MEST) To: GNU libc hackers Subject: Fix warnings in testsuite From: Andreas Jaeger Date: Wed, 25 Jun 2003 11:09:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2003-06/txt/msg00048.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 2757 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 * posix/transbug.c: Include for memset and strlen declarations. * stdio-common/tst-sprintf.c: Include for free declaration. * stdlib/tst-strtod.c (main): Pass long double value. * test-skeleton.c: Include for nanosleep declaration. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 #include #include +#include =20 /* lowercase chars mapped to uppercase */ static const char casetable[] =3D { =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 +#include #include =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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) !=3D +1.000000000116415321826934814453125) { printf ("input2: %La !=3D %La\n", strtold (input2, NULL), - +1.000000000116415321826934814453125); + +1.000000000116415321826934814453125L); status =3D 1; } =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 #include #include +#include =20 /* The test function is normally called `do_test' and it is called with argc and argv as the arguments. We nevertheless provide the --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQA++YHFOJpWPMJyoSYRAiVrAJ9cskkH7uYBbdP7KazpdLqTicN5KACghMyi +c3WKplAYaFyYE1hnoZLl3c= =nohB -----END PGP SIGNATURE----- --=-=-=--