public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: GNU libc hackers <libc-hacker@sources.redhat.com>
Subject: Further testsuite patch
Date: Wed, 25 Jun 2003 12:20:00 -0000	[thread overview]
Message-ID: <hoisqu9zog.fsf@byrd.suse.de> (raw)

[-- 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 --]

                 reply	other threads:[~2003-06-25 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hoisqu9zog.fsf@byrd.suse.de \
    --to=aj@suse.de \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).