From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Fix 3 NPTL testcases
Date: Tue, 05 Oct 2004 17:47:00 -0000 [thread overview]
Message-ID: <20041005174654.GH30497@sunsite.ms.mff.cuni.cz> (raw)
Hi!
2004-10-05 Jakub Jelinek <jakub@redhat.com>
* tst-clock1.c: Change #ifdef to #if defined.
* tst-clock2.c: Likewise.
* tst-cond11.c: Likewise.
--- libc/nptl/tst-clock1.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-clock1.c 2004-10-05 19:45:32.300366959 +0200
@@ -27,7 +27,7 @@
int
do_test (void)
{
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
clockid_t cl;
/* This is really only a linking-test here. */
int e = pthread_getcpuclockid (pthread_self (), &cl);
--- libc/nptl/tst-cond11.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-cond11.c 2004-10-05 19:46:08.952869926 +0200
@@ -24,7 +24,7 @@
#include <unistd.h>
-#ifdef _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
+#if defined _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
static int
run_test (clockid_t cl)
{
--- libc/nptl/tst-clock2.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-clock2.c 2004-10-05 19:45:45.224076121 +0200
@@ -25,7 +25,7 @@
#include <unistd.h>
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
static pthread_barrier_t b2;
static pthread_barrier_t bN;
Jakub
reply other threads:[~2004-10-05 17:47 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=20041005174654.GH30497@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--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).