[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r9062 - in /fsf/trunk/libc: ChangeLog po/cs.po stdlib/rand_r.c stdlib/random_r.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r9062 - in /fsf/trunk/libc: ChangeLog po/cs.po stdlib/rand_r.c stdlib/random_r.c
- From: eglibc@xxxxxxxxxx
- Date: Fri, 09 Oct 2009 07:04:02 -0000
Author: eglibc
Date: Fri Oct 9 00:04:01 2009
New Revision: 9062
Log:
Import glibc-mainline for 2009-10-09
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/po/cs.po
fsf/trunk/libc/stdlib/rand_r.c
fsf/trunk/libc/stdlib/random_r.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Oct 9 00:04:01 2009
@@ -1,3 +1,14 @@
+2009-10-08 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ [BZ #10730]
+ * stdlib/random_r.c (__initstate_r): Remove duplicate __set-errno.
+ Patch in part by Steve Ward <planet36@xxxxxxxxx>.
+
+ [BZ #10731]
+ * stdlib/rand_r.c: Fix typo.
+
+ * po/cs.po: Update from translation team.
+
2009-10-06 Andreas Schwab <schwab@xxxxxxxxxx>
* elf/dl-load.c (_dl_map_object_from_fd): Close fd before
Modified: fsf/trunk/libc/po/cs.po
==============================================================================
--- fsf/trunk/libc/po/cs.po (original)
+++ fsf/trunk/libc/po/cs.po Fri Oct 9 00:04:01 2009
@@ -22,9 +22,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: libc 2.9.90\n"
+"Project-Id-Version: libc 2.10.1\n"
"POT-Creation-Date: 2009-02-06 12:40-0800\n"
-"PO-Revision-Date: 2009-03-02 10:03+0100\n"
+"PO-Revision-Date: 2009-10-08 21:33+0200\n"
"Last-Translator: Petr Pisar <petr.pisar@xxxxxxxx>\n"
"Language-Team: Czech <translation-team-cs@xxxxxxxxxxxxxxxxxxxxx>\n"
"MIME-Version: 1.0\n"
@@ -4072,7 +4072,7 @@
msgstr ""
"konfigurace nscd:\n"
"\n"
-"%15d ladÃcà úroveÅ serveru\n"
+"%15d úroveÅ ladÄnà serveru\n"
#: nscd/nscd_stat.c:230
#, c-format
@@ -4622,11 +4622,10 @@
msgid "Unknown error"
msgstr "Neznámá chyba"
-# Signál reálného Äasu %d"
#: string/strsignal.c:65
#, c-format
msgid "Real-time signal %d"
-msgstr "Real-timeový signál %d"
+msgstr "Signál reálného Äasu %d"
#: string/strsignal.c:69
#, c-format
@@ -5313,11 +5312,11 @@
#: sysdeps/generic/siglist.h:47 sysdeps/unix/siglist.c:47
msgid "Stopped (tty input)"
-msgstr "Pozastaven (tty input) (SIGTTIN)"
+msgstr "Pozastaven (vstup TTY) (SIGTTIN)"
#: sysdeps/generic/siglist.h:48 sysdeps/unix/siglist.c:48
msgid "Stopped (tty output)"
-msgstr "Pozastaven (tty output) (SIGTTOU)"
+msgstr "Pozastaven (výstup TTY) (SIGTTOU)"
#: sysdeps/generic/siglist.h:49 sysdeps/unix/siglist.c:49
msgid "I/O possible"
@@ -5361,7 +5360,7 @@
#: sysdeps/generic/siglist.h:66
msgid "Stack fault"
-msgstr "PoruÅ¡en zásobnÃk (SIGSTKFLT)\""
+msgstr "PoruÅ¡en zásobnÃk (SIGSTKFLT)"
#: sysdeps/generic/siglist.h:69
msgid "Information request"
@@ -5373,7 +5372,7 @@
#: sysdeps/generic/siglist.h:74 sysdeps/unix/siglist.c:55
msgid "Resource lost"
-msgstr "ProstÅedek byl ztracen"
+msgstr "ProstÅedek byl ztracen (SIGLOST)"
#. TRANS Operation not permitted; only the owner of the file (or other resource)
#. TRANS or processes with special privileges can perform the operation.
Modified: fsf/trunk/libc/stdlib/rand_r.c
==============================================================================
--- fsf/trunk/libc/stdlib/rand_r.c (original)
+++ fsf/trunk/libc/stdlib/rand_r.c Fri Oct 9 00:04:01 2009
@@ -1,5 +1,5 @@
-/* Reentrant random function frm POSIX.1c.
- Copyright (C) 1996, 1999 Free Software Foundation, Inc.
+/* Reentrant random function from POSIX.1c.
+ Copyright (C) 1996, 1999, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1996.
Modified: fsf/trunk/libc/stdlib/random_r.c
==============================================================================
--- fsf/trunk/libc/stdlib/random_r.c (original)
+++ fsf/trunk/libc/stdlib/random_r.c Fri Oct 9 00:04:01 2009
@@ -255,10 +255,8 @@
else if (n < BREAK_1)
{
if (n < BREAK_0)
- {
- __set_errno (EINVAL);
- goto fail;
- }
+ goto fail;
+
type = TYPE_0;
}
else