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] |
This patch removes three further problems. I've committed it. Andreas 2003-06-25 Andreas Jaeger <aj@suse.de> * posix/tst-nanosleep.c: Include <time.h> for nanosleep declaration. * stdio-common/tst-fphex.c: Fix format string. ============================================================ Index: posix/tst-nanosleep.c --- posix/tst-nanosleep.c 17 May 2003 05:03:45 -0000 1.1 +++ posix/tst-nanosleep.c 25 Jun 2003 11:11:16 -0000 @@ -20,6 +20,7 @@ #include <stdio.h> #include <unistd.h> #include <sys/time.h> +#include <time.h> /* Test that nanosleep() does sleep. */ ============================================================ Index: stdio-common/tst-fphex.c --- stdio-common/tst-fphex.c 24 Oct 2002 01:15:31 -0000 1.1 +++ stdio-common/tst-fphex.c 25 Jun 2003 11:11:18 -0000 @@ -39,7 +39,7 @@ do_test (int argc, char **argv) int n = snprintf (buf, sizeof buf, t->fmt, t->value); if (n != strlen (t->expect) || strcmp (buf, t->expect) != 0) { - printf ("%s\tExpected \"%s\" (%u)\n\tGot \"%s\" (%d, %u)\n", + printf ("%s\tExpected \"%s\" (%Zu)\n\tGot \"%s\" (%d, %Zu)\n", t->fmt, t->expect, strlen (t->expect), buf, n, strlen (buf)); result = 1; } -- 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] |