[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r17082 - in /fsf/trunk/libc: ./ localedata/ localedata/locales/ rt/ sysdeps/i386/fpu/
- To: commits@xxxxxxxxxx
- Subject: [Commits] r17082 - in /fsf/trunk/libc: ./ localedata/ localedata/locales/ rt/ sysdeps/i386/fpu/
- From: eglibc@xxxxxxxxxx
- Date: Sat, 11 Feb 2012 00:01:35 -0000
Author: eglibc
Date: Sat Feb 11 00:01:33 2012
New Revision: 17082
Log:
Import glibc-mainline for 2012-02-11
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/localedata/ChangeLog
fsf/trunk/libc/localedata/locales/br_FR@euro
fsf/trunk/libc/localedata/locales/ca_ES@euro
fsf/trunk/libc/localedata/locales/cs_CZ
fsf/trunk/libc/localedata/locales/de_BE@euro
fsf/trunk/libc/localedata/locales/de_DE
fsf/trunk/libc/localedata/locales/de_DE@euro
fsf/trunk/libc/localedata/locales/de_LU@euro
fsf/trunk/libc/localedata/locales/el_GR@euro
fsf/trunk/libc/localedata/locales/en_AG
fsf/trunk/libc/localedata/locales/en_IE@euro
fsf/trunk/libc/localedata/locales/en_US
fsf/trunk/libc/localedata/locales/es_CR
fsf/trunk/libc/localedata/locales/es_ES@euro
fsf/trunk/libc/localedata/locales/es_NI
fsf/trunk/libc/localedata/locales/es_PR
fsf/trunk/libc/localedata/locales/eu_ES@euro
fsf/trunk/libc/localedata/locales/fi_FI@euro
fsf/trunk/libc/localedata/locales/fr_BE@euro
fsf/trunk/libc/localedata/locales/fr_FR@euro
fsf/trunk/libc/localedata/locales/fr_LU@euro
fsf/trunk/libc/localedata/locales/fy_NL
fsf/trunk/libc/localedata/locales/ga_IE@euro
fsf/trunk/libc/localedata/locales/gl_ES@euro
fsf/trunk/libc/localedata/locales/it_IT@euro
fsf/trunk/libc/localedata/locales/nl_AW
fsf/trunk/libc/localedata/locales/nl_BE@euro
fsf/trunk/libc/localedata/locales/nl_NL@euro
fsf/trunk/libc/localedata/locales/pt_PT@euro
fsf/trunk/libc/localedata/locales/sv_FI@euro
fsf/trunk/libc/localedata/locales/tr_CY
fsf/trunk/libc/localedata/locales/wa_BE@euro
fsf/trunk/libc/rt/tst-cpuclock1.c
fsf/trunk/libc/rt/tst-cpuclock2.c
fsf/trunk/libc/sysdeps/i386/fpu/feupdateenv.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Feb 11 00:01:33 2012
@@ -1,3 +1,13 @@
+2012-02-10 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
+ __feraiseexcept instead of feraiseexcept.
+
+ * rt/tst-cpuclock1.c: Add a few comments, and error checking for
+ nanosleep invocations.
+ * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
+ strings, and add error checking for a nanosleep invocations.
+
2012-02-09 Paul Eggert <eggert@xxxxxxxxxxx>
Replace FSF snail mail address with URLs, as per GNU coding standards.
Modified: fsf/trunk/libc/localedata/ChangeLog
==============================================================================
--- fsf/trunk/libc/localedata/ChangeLog (original)
+++ fsf/trunk/libc/localedata/ChangeLog Sat Feb 11 00:01:33 2012
@@ -1,3 +1,7 @@
+2012-02-10 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ Revert changes to locales from previous commit.
+
2012-02-07 Paul Eggert <eggert@xxxxxxxxxxx>
Replace FSF snail mail address with URLs, as per GNU coding standards.
Modified: fsf/trunk/libc/localedata/locales/br_FR@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/br_FR@euro (original)
+++ fsf/trunk/libc/localedata/locales/br_FR@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Breton locale for France with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
email "bug-glibc-locales@xxxxxxx"
tel ""
fax ""
Modified: fsf/trunk/libc/localedata/locales/ca_ES@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/ca_ES@euro (original)
+++ fsf/trunk/libc/localedata/locales/ca_ES@euro Sat Feb 11 00:01:33 2012
@@ -16,7 +16,7 @@
LC_IDENTIFICATION
title "Catalan locale for Catalonia with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/cs_CZ
==============================================================================
--- fsf/trunk/libc/localedata/locales/cs_CZ (original)
+++ fsf/trunk/libc/localedata/locales/cs_CZ Sat Feb 11 00:01:33 2012
@@ -107,7 +107,7 @@
LC_IDENTIFICATION
title "Czech locale for the Czech Republic"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/de_BE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/de_BE@euro (original)
+++ fsf/trunk/libc/localedata/locales/de_BE@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "German locale for Belgium with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/de_DE
==============================================================================
--- fsf/trunk/libc/localedata/locales/de_DE (original)
+++ fsf/trunk/libc/localedata/locales/de_DE Sat Feb 11 00:01:33 2012
@@ -6,7 +6,7 @@
LC_IDENTIFICATION
title "German locale for Germany"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/de_DE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/de_DE@euro (original)
+++ fsf/trunk/libc/localedata/locales/de_DE@euro Sat Feb 11 00:01:33 2012
@@ -6,7 +6,7 @@
LC_IDENTIFICATION
title "German locale for Germany with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/de_LU@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/de_LU@euro (original)
+++ fsf/trunk/libc/localedata/locales/de_LU@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "German locale for Luxemburg with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/el_GR@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/el_GR@euro (original)
+++ fsf/trunk/libc/localedata/locales/el_GR@euro Sat Feb 11 00:01:33 2012
@@ -4,7 +4,7 @@
LC_IDENTIFICATION
title "Greek locale for Greece with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/en_AG
==============================================================================
--- fsf/trunk/libc/localedata/locales/en_AG (original)
+++ fsf/trunk/libc/localedata/locales/en_AG Sat Feb 11 00:01:33 2012
@@ -6,7 +6,7 @@
LC_IDENTIFICATION
title "English language locale for Antigua and Barbuda"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/en_IE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/en_IE@euro (original)
+++ fsf/trunk/libc/localedata/locales/en_IE@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "English locale for Ireland with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/en_US
==============================================================================
--- fsf/trunk/libc/localedata/locales/en_US (original)
+++ fsf/trunk/libc/localedata/locales/en_US Sat Feb 11 00:01:33 2012
@@ -6,7 +6,7 @@
LC_IDENTIFICATION
title "English locale for the USA"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/es_CR
==============================================================================
--- fsf/trunk/libc/localedata/locales/es_CR (original)
+++ fsf/trunk/libc/localedata/locales/es_CR Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Spanish locale for Costa Rica"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/es_ES@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/es_ES@euro (original)
+++ fsf/trunk/libc/localedata/locales/es_ES@euro Sat Feb 11 00:01:33 2012
@@ -15,7 +15,7 @@
LC_IDENTIFICATION
title "Spanish locale for Spain with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/es_NI
==============================================================================
--- fsf/trunk/libc/localedata/locales/es_NI (original)
+++ fsf/trunk/libc/localedata/locales/es_NI Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Spanish locale for Nicaragua"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/es_PR
==============================================================================
--- fsf/trunk/libc/localedata/locales/es_PR (original)
+++ fsf/trunk/libc/localedata/locales/es_PR Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Spanish locale for Puerto Rico"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/eu_ES@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/eu_ES@euro (original)
+++ fsf/trunk/libc/localedata/locales/eu_ES@euro Sat Feb 11 00:01:33 2012
@@ -15,7 +15,7 @@
LC_IDENTIFICATION
title "Basque language locale for Spain with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/fi_FI@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/fi_FI@euro (original)
+++ fsf/trunk/libc/localedata/locales/fi_FI@euro Sat Feb 11 00:01:33 2012
@@ -15,7 +15,7 @@
LC_IDENTIFICATION
title "Finnish locale for Finland with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/fr_BE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/fr_BE@euro (original)
+++ fsf/trunk/libc/localedata/locales/fr_BE@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "French locale for Belgium with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/fr_FR@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/fr_FR@euro (original)
+++ fsf/trunk/libc/localedata/locales/fr_FR@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "French locale for France with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
email "bug-glibc-locales@xxxxxxx"
tel ""
fax ""
Modified: fsf/trunk/libc/localedata/locales/fr_LU@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/fr_LU@euro (original)
+++ fsf/trunk/libc/localedata/locales/fr_LU@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "French locale for Luxemburg with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/fy_NL
==============================================================================
--- fsf/trunk/libc/localedata/locales/fy_NL (original)
+++ fsf/trunk/libc/localedata/locales/fy_NL Sat Feb 11 00:01:33 2012
@@ -13,7 +13,7 @@
LC_IDENTIFICATION
title "Frisian locale for the Netherlands"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/ga_IE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/ga_IE@euro (original)
+++ fsf/trunk/libc/localedata/locales/ga_IE@euro Sat Feb 11 00:01:33 2012
@@ -13,7 +13,7 @@
LC_IDENTIFICATION
title "Irish locale for Ireland with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/gl_ES@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/gl_ES@euro (original)
+++ fsf/trunk/libc/localedata/locales/gl_ES@euro Sat Feb 11 00:01:33 2012
@@ -15,7 +15,7 @@
LC_IDENTIFICATION
title "Galician locale for Spain with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/it_IT@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/it_IT@euro (original)
+++ fsf/trunk/libc/localedata/locales/it_IT@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Italian locale for Italy with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/nl_AW
==============================================================================
--- fsf/trunk/libc/localedata/locales/nl_AW (original)
+++ fsf/trunk/libc/localedata/locales/nl_AW Sat Feb 11 00:01:33 2012
@@ -6,7 +6,7 @@
LC_IDENTIFICATION
title "Dutch language locale for Aruba"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/nl_BE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/nl_BE@euro (original)
+++ fsf/trunk/libc/localedata/locales/nl_BE@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Dutch locale for Belgium with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/nl_NL@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/nl_NL@euro (original)
+++ fsf/trunk/libc/localedata/locales/nl_NL@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Dutch locale for the Netherlands with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/pt_PT@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/pt_PT@euro (original)
+++ fsf/trunk/libc/localedata/locales/pt_PT@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Portuguese locale for Portugal with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/sv_FI@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/sv_FI@euro (original)
+++ fsf/trunk/libc/localedata/locales/sv_FI@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Swedish locale for Finland with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/tr_CY
==============================================================================
--- fsf/trunk/libc/localedata/locales/tr_CY (original)
+++ fsf/trunk/libc/localedata/locales/tr_CY Sat Feb 11 00:01:33 2012
@@ -16,7 +16,7 @@
LC_IDENTIFICATION
title "Turkish language locale for Cyprus"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/localedata/locales/wa_BE@euro
==============================================================================
--- fsf/trunk/libc/localedata/locales/wa_BE@euro (original)
+++ fsf/trunk/libc/localedata/locales/wa_BE@euro Sat Feb 11 00:01:33 2012
@@ -14,7 +14,7 @@
LC_IDENTIFICATION
title "Walloon locale for Belgium with Euro"
source "Free Software Foundation, Inc."
-address "http://www.gnu.org/software/libc/"
+address "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
contact ""
email "bug-glibc-locales@xxxxxxx"
tel ""
Modified: fsf/trunk/libc/rt/tst-cpuclock1.c
==============================================================================
--- fsf/trunk/libc/rt/tst-cpuclock1.c (original)
+++ fsf/trunk/libc/rt/tst-cpuclock1.c Sat Feb 11 00:01:33 2012
@@ -1,5 +1,5 @@
/* Test program for process CPU clocks.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -130,11 +130,17 @@
result = 1;
goto done;
}
+ /* Should be close to 0.0. */
printf ("live PID %d before sleep => %lu.%.9lu\n",
child, before.tv_sec, before.tv_nsec);
struct timespec sleeptime = { .tv_nsec = 500000000 };
- nanosleep (&sleeptime, NULL);
+ if (nanosleep (&sleeptime, NULL) != 0)
+ {
+ perror ("nanosleep");
+ result = 1;
+ goto done;
+ }
if (clock_gettime (child_clock, &after) < 0)
{
@@ -143,6 +149,7 @@
result = 1;
goto done;
}
+ /* Should be close to 0.5. */
printf ("live PID %d after sleep => %lu.%.9lu\n",
child, after.tv_sec, after.tv_nsec);
@@ -213,7 +220,12 @@
/* Wait long enough to let the child finish dying. */
sleeptime.tv_nsec = 200000000;
- nanosleep (&sleeptime, NULL);
+ if (nanosleep (&sleeptime, NULL) != 0)
+ {
+ perror ("nanosleep");
+ result = 1;
+ goto done;
+ }
struct timespec dead;
if (clock_gettime (child_clock, &dead) < 0)
@@ -223,6 +235,7 @@
result = 1;
goto done;
}
+ /* Should be close to 0.6. */
printf ("dead PID %d => %lu.%.9lu\n",
child, dead.tv_sec, dead.tv_nsec);
Modified: fsf/trunk/libc/rt/tst-cpuclock2.c
==============================================================================
--- fsf/trunk/libc/rt/tst-cpuclock2.c (original)
+++ fsf/trunk/libc/rt/tst-cpuclock2.c Sat Feb 11 00:01:33 2012
@@ -1,5 +1,5 @@
/* Test program for process and thread CPU clocks.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -216,7 +216,7 @@
struct timespec res;
if (clock_getres (th_clock, &res) < 0)
{
- printf ("clock_getres on thread clock %lx => %s\n",
+ printf ("clock_getres on live thread clock %lx => %s\n",
(unsigned long int) th_clock, strerror (errno));
result = 1;
return 1;
@@ -228,7 +228,7 @@
if (clock_gettime (process_clock, &process_before) < 0)
{
printf ("clock_gettime on process clock %lx => %s\n",
- (unsigned long int) th_clock, strerror (errno));
+ (unsigned long int) process_clock, strerror (errno));
return 1;
}
@@ -245,36 +245,40 @@
struct timespec me_before, me_after;
if (clock_gettime (my_thread_clock, &me_before) < 0)
{
+ printf ("clock_gettime on self thread clock %lx => %s\n",
+ (unsigned long int) my_thread_clock, strerror (errno));
+ return 1;
+ }
+ printf ("self thread before sleep => %lu.%.9lu\n",
+ me_before.tv_sec, me_before.tv_nsec);
+
+ struct timespec sleeptime = { .tv_nsec = 500000000 };
+ if (nanosleep (&sleeptime, NULL) != 0)
+ {
+ perror ("nanosleep");
+ return 1;
+ }
+
+ if (clock_gettime (th_clock, &after) < 0)
+ {
printf ("clock_gettime on live thread clock %lx => %s\n",
(unsigned long int) th_clock, strerror (errno));
return 1;
}
- printf ("self thread before sleep => %lu.%.9lu\n",
- me_before.tv_sec, me_before.tv_nsec);
-
- struct timespec sleeptime = { .tv_nsec = 500000000 };
- nanosleep (&sleeptime, NULL);
-
- if (clock_gettime (th_clock, &after) < 0)
- {
- printf ("clock_gettime on live thread clock %lx => %s\n",
- (unsigned long int) th_clock, strerror (errno));
- return 1;
- }
printf ("live thread after sleep => %lu.%.9lu\n",
after.tv_sec, after.tv_nsec);
if (clock_gettime (process_clock, &process_after) < 0)
{
printf ("clock_gettime on process clock %lx => %s\n",
- (unsigned long int) th_clock, strerror (errno));
+ (unsigned long int) process_clock, strerror (errno));
return 1;
}
if (clock_gettime (my_thread_clock, &me_after) < 0)
{
- printf ("clock_gettime on live thread clock %lx => %s\n",
- (unsigned long int) th_clock, strerror (errno));
+ printf ("clock_gettime on self thread clock %lx => %s\n",
+ (unsigned long int) my_thread_clock, strerror (errno));
return 1;
}
printf ("self thread after sleep => %lu.%.9lu\n",
@@ -286,7 +290,7 @@
if (th_diff < 100000000 || th_diff > 600000000)
{
- printf ("thread before - after %llu outside reasonable range\n",
+ printf ("live thread before - after %llu outside reasonable range\n",
th_diff);
result = 1;
}
@@ -305,7 +309,7 @@
result = 1;
}
- process_after.tv_nsec += test_nanosleep (th_clock, "thread",
+ process_after.tv_nsec += test_nanosleep (th_clock, "live thread",
&after, &result);
process_after.tv_nsec += test_nanosleep (process_clock, "process",
&process_after, &result);
Modified: fsf/trunk/libc/sysdeps/i386/fpu/feupdateenv.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/feupdateenv.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/feupdateenv.c Sat Feb 11 00:01:33 2012
@@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- Copyright (C) 1997,99,2000,01,07,2010 Free Software Foundation, Inc.
+ Copyright (C) 1997,99,2000,01,07,2010,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997.
@@ -44,7 +44,7 @@
/* Raise the saved exception. Incidently for us the implementation
defined format of the values in objects of type fexcept_t is the
same as the ones specified using the FE_* constants. */
- feraiseexcept ((int) temp);
+ __feraiseexcept ((int) temp);
/* Success. */
return 0;
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits