* Further testsuite patch
@ 2003-06-25 12:20 Andreas Jaeger
0 siblings, 0 replies; only message in thread
From: Andreas Jaeger @ 2003-06-25 12:20 UTC (permalink / raw)
To: GNU libc hackers
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
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 #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-25 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25 12:20 Further testsuite patch Andreas Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).