1999-10-06  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.

1999-10-05  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-identification.c: Fix typo in comment.
	* locale/programs/ld-messages.c: Likewise.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-name.c: Likewise.

	* locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
	(collate_read): Remove unnecessary comparisons with ignore_content.

	* locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
	assigned elements.
	(ctype_read): Remove unnecessary comparisons with ignore_content.
	Fix typos in comments.

	* locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
	comparisons with ignore_content.

	* po/cs.po: Update.
This commit is contained in:
Ulrich Drepper 1999-10-06 18:22:29 +00:00
parent 811ba236ed
commit 42d7c59314
9 changed files with 59 additions and 31 deletions

View File

@ -1,5 +1,29 @@
1999-10-06 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
1999-10-05 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-identification.c: Fix typo in comment.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
(collate_read): Remove unnecessary comparisons with ignore_content.
* locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
assigned elements.
(ctype_read): Remove unnecessary comparisons with ignore_content.
Fix typos in comments.
* locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
comparisons with ignore_content.
1999-10-05 Ulrich Drepper <drepper@cygnus.com> 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
* po/cs.po: Update.
* time/time.h: Move __gmtime_r declaration to ... * time/time.h: Move __gmtime_r declaration to ...
* include/time.h: ...here. * include/time.h: ...here.

View File

@ -453,7 +453,7 @@ address_read (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -678,7 +678,7 @@ collate_read (struct linereader *ldfile, struct localedef_t *result,
else else
{ {
free (arg->val.str.startmb); free (arg->val.str.startmb);
lr_ignore_rest (ldfile, 1); lr_ignore_rest (ldfile, 0);
} }
break; break;
@ -3135,7 +3135,7 @@ read_lc_collate (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -347,7 +347,7 @@ ctype_finish (struct localedef_t *locale, struct charmap_t *charmap)
set_class_defaults (ctype, charmap, ctype->repertoire); set_class_defaults (ctype, charmap, ctype->repertoire);
/* Check according to table. */ /* Check according to table. */
for (cnt = 0; cnt < ctype->class_collection_max; ++cnt) for (cnt = 0; cnt < ctype->class_collection_act; ++cnt)
{ {
uint32_t tmp = ctype->class_collection[cnt]; uint32_t tmp = ctype->class_collection[cnt];
@ -549,7 +549,7 @@ character '%s' in class `%s' must not be in class `%s'"),
} }
/* Check the input digits. There must be a multiple of ten available. /* Check the input digits. There must be a multiple of ten available.
In each group I could be that one or the other character is missing. In each group it could be that one or the other character is missing.
In this case the whole group must be removed. */ In this case the whole group must be removed. */
cnt = 0; cnt = 0;
while (cnt < ctype->mbdigits_act) while (cnt < ctype->mbdigits_act)
@ -610,7 +610,7 @@ no input digits defined and none of the standard names in the charmap"));
} }
/* Check the wide character input digits. There must be a multiple /* Check the wide character input digits. There must be a multiple
of ten available. In each group I could be that one or the other of ten available. In each group it could be that one or the other
character is missing. In this case the whole group must be character is missing. In this case the whole group must be
removed. */ removed. */
cnt = 0; cnt = 0;
@ -998,7 +998,7 @@ implementation limit: no more than %d character maps allowed"),
/* We have to be prepared that TABLE, MAX, and ACT can be NULL. This /* We have to be prepared that TABLE, MAX, and ACT can be NULL. This
is possible if we only want ot extend the name array. */ is possible if we only want to extend the name array. */
static uint32_t * static uint32_t *
find_idx (struct locale_ctype_t *ctype, uint32_t **table, size_t *max, find_idx (struct locale_ctype_t *ctype, uint32_t **table, size_t *max,
size_t *act, uint32_t idx) size_t *act, uint32_t idx)
@ -1911,7 +1911,10 @@ with character code range values one must use the absolute ellipsis `...'"));
/* Ignore the rest of the line if we don't need the input of /* Ignore the rest of the line if we don't need the input of
this line. */ this line. */
if (ignore_content) if (ignore_content)
{
lr_ignore_rest (ldfile, 0);
break; break;
}
handle_tok_digit: handle_tok_digit:
class_bit = _ISwdigit; class_bit = _ISwdigit;
@ -2803,7 +2806,7 @@ allocate_arrays (struct locale_ctype_t *ctype, struct charmap_t *charmap,
We use a very trivial hashing function to store the sparse We use a very trivial hashing function to store the sparse
table. CH % TABSIZE is used as an index. To solve multiple hits table. CH % TABSIZE is used as an index. To solve multiple hits
we have N planes. This guarantees a fixed search time for a we have N planes. This guarantees a fixed search time for a
character [N / 2]. In the following code we determine the minmum character [N / 2]. In the following code we determine the minimum
value for TABSIZE * N, where TABSIZE >= 256. */ value for TABSIZE * N, where TABSIZE >= 256. */
size_t min_total = UINT_MAX; size_t min_total = UINT_MAX;
size_t act_size = 256; size_t act_size = 256;

View File

@ -328,7 +328,7 @@ identification_read (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -269,7 +269,7 @@ messages_read (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -614,7 +614,7 @@ monetary_read (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -250,7 +250,7 @@ name_read (struct linereader *ldfile, struct localedef_t *result,
if (nowtok == tok_eof) if (nowtok == tok_eof)
break; break;
/* Ingore empty lines. */ /* Ignore empty lines. */
if (nowtok == tok_eol) if (nowtok == tok_eol)
{ {
now = lr_token (ldfile, charmap, NULL); now = lr_token (ldfile, charmap, NULL);

View File

@ -1,6 +1,6 @@
# Czech translations for GNU libc. # Czech translations for GNU libc.
# Copyright (C) 1997 Free Software Foundation, Inc. # Copyright (C) 1997 Free Software Foundation, Inc.
# Vladimir Michl <Vladimir.Michl@upol.cz>, 1997. # Vladimir Michl <Vladimir.Michl@seznam.cz>, 1997.
# #
# Thanks to: # Thanks to:
# Petr Kolar <Petr.Kolar@vslib.cz> # Petr Kolar <Petr.Kolar@vslib.cz>
@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: libc 2.1\n" "Project-Id-Version: libc 2.1\n"
"POT-Creation-Date: 1998-11-28 09:29-0800\n" "POT-Creation-Date: 1998-11-28 09:29-0800\n"
"PO-Revision-Date: 1999-01-14 18:57+01:00\n" "PO-Revision-Date: 1999-09-26 21:59+02:00\n"
"Last-Translator: Vladimir Michl <Vladimir.Michl@upol.cz>\n" "Last-Translator: Vladimir Michl <Vladimir.Michl@seznam.cz>\n"
"Language-Team: Czech <cs@li.org>\n" "Language-Team: Czech <cs@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Type: text/plain; charset=ISO-8859-2\n"
@ -133,10 +133,10 @@ msgstr "Zaps
#: catgets/gencat.c:115 #: catgets/gencat.c:115
msgid "" msgid ""
"Generate message catalog.\\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\n" "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\n"
"is -, output is written to standard output.\n" "is -, output is written to standard output.\n"
msgstr "" msgstr ""
" Generuje katalog zpráv.\\vJe-li VSTUPNÍ_SOUBOR -, vstup bude naèten ze\n" " Generuje katalog zpráv.\vJe-li VSTUPNÍ_SOUBOR -, vstup bude načten ze\n"
"standardního vstupu. Je-li VÝSTUPNÍ_SOUBOR -, výstup bude zapsán na standardní\n" "standardního vstupu. Je-li VÝSTUPNÍ_SOUBOR -, výstup bude zapsán na standardní\n"
"výstup.\n" "výstup.\n"
@ -510,7 +510,7 @@ msgid ""
"\n" "\n"
" " " "
msgstr "" msgstr ""
" Nasledující seznam obsahuje v¹echny známé znakové sady. To nutnì neznamená,\n" " Následující seznam obsahuje všechny známé znakové sady. To nutně neznamená,\n"
"¾e v¹echny kombinace tìchto názvù mohou být pou¾ity pro argumenty Z a DO.\n" "¾e v¹echny kombinace tìchto názvù mohou být pou¾ity pro argumenty Z a DO.\n"
"Jedna znaková sada mù¾e být uvedena pod vícerými názvy (pøezdívkami).\n" "Jedna znaková sada mù¾e být uvedena pod vícerými názvy (pøezdívkami).\n"
" Nìkteré z názvù nejsou obyèejné øetìzce, ale regulární výrazy, které\n" " Nìkteré z názvù nejsou obyèejné øetìzce, ale regulární výrazy, které\n"
@ -2433,16 +2433,16 @@ msgid "Unmatched [ or [^"
msgstr "Nepárová [ or [^" msgstr "Nepárová [ or [^"
#: posix/regex.c:1020 #: posix/regex.c:1020
msgid "Unmatched ( or \\(" msgid "Unmatched ( or \("
msgstr "Nepárová ( or \\(" msgstr "Nepárová ( or \("
#: posix/regex.c:1021 #: posix/regex.c:1021
msgid "Unmatched \\{" msgid "Unmatched \{"
msgstr "Nepárová \\{" msgstr "Nepárová \{"
#: posix/regex.c:1022 #: posix/regex.c:1022
msgid "Invalid content of \\{\\}" msgid "Invalid content of \{\}"
msgstr "Nepøípustný obsah \\{\\}" msgstr "Nepřípustný obsah \{\}"
#: posix/regex.c:1023 #: posix/regex.c:1023
msgid "Invalid range end" msgid "Invalid range end"
@ -2465,8 +2465,8 @@ msgid "Regular expression too big"
msgstr "Regulární výraz je pøíli¹ velký" msgstr "Regulární výraz je pøíli¹ velký"
#: posix/regex.c:1028 #: posix/regex.c:1028
msgid "Unmatched ) or \\)" msgid "Unmatched ) or \)"
msgstr "Nepárová ) or \\)" msgstr "Nepárová ) or \)"
#: posix/regex.c:5515 #: posix/regex.c:5515
msgid "No previous regular expression" msgid "No previous regular expression"
@ -2922,11 +2922,12 @@ msgstr "Spojen
msgid "Too many references: cannot splice" msgid "Too many references: cannot splice"
msgstr "Pøíli¹ mnoho odkazù - nelze spojit" msgstr "Pøíli¹ mnoho odkazù - nelze spojit"
# Časový limit pro připojení vypršel
#. TRANS A socket operation with a specified timeout received no response during #. TRANS A socket operation with a specified timeout received no response during
#. TRANS the timeout period. #. TRANS the timeout period.
#: stdio-common/../sysdeps/gnu/errlist.c:445 #: stdio-common/../sysdeps/gnu/errlist.c:445
msgid "Connection timed out" msgid "Connection timed out"
msgstr "Èasový limit pro pøipojení vypr¹el" msgstr "Spojení bylo příliš dlouho neaktivní"
#. TRANS A remote host refused to allow the network connection (typically because #. TRANS A remote host refused to allow the network connection (typically because
#. TRANS it is not running the requested service). #. TRANS it is not running the requested service).
@ -3774,14 +3775,14 @@ msgstr "Pou
#, c-format #, c-format
msgid "\t%s [-abkCLNTM][-Dname[=value]] [-i size] [-I [-K seconds]] [-Y path] infile\n" msgid "\t%s [-abkCLNTM][-Dname[=value]] [-i size] [-I [-K seconds]] [-Y path] infile\n"
msgstr "" msgstr ""
"\t%s [-abkCLNTM][-Dnázev[=hodnota]] [-i velikost] [-I [-K sekundy]]\n" " %s [-abkCLNTM][-Dnázev[=hodnota]] [-i velikost] [-I [-K sekundy]]\n"
" [-Y cesta] vst_soubor\n" " [-Y cesta] vst_soubor\n"
#: sunrpc/rpc_main.c:1418 #: sunrpc/rpc_main.c:1418
#, c-format #, c-format
msgid "\t%s [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o outfile] [infile]\n" msgid "\t%s [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o outfile] [infile]\n"
msgstr "" msgstr ""
"\t%s [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o výst_soubor]\n" " %s [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o výst_soubor]\n"
" [vst_soubor]\n" " [vst_soubor]\n"
#: sunrpc/rpc_main.c:1420 #: sunrpc/rpc_main.c:1420
@ -4067,7 +4068,7 @@ msgstr " (pravidlo z \"%s\",
#, c-format #, c-format
msgid "" msgid ""
"%s: usage is %s [ -s ] [ -v ] [ -l localtime ] [ -p posixrules ] [ -d directory ]\n" "%s: usage is %s [ -s ] [ -v ] [ -l localtime ] [ -p posixrules ] [ -d directory ]\n"
"\t[ -L leapseconds ] [ -y yearistype ] [ filename ... ]\n" " [ -L leapseconds ] [ -y yearistype ] [ filename ... ]\n"
msgstr "" msgstr ""
"%s: Pou¾ití: %s [ -s ] [ -v ] [ -l lokální_èas ]\n" "%s: Pou¾ití: %s [ -s ] [ -v ] [ -l lokální_èas ]\n"
" [ -p posixová_pravidla ] [ -d adresáø ] [ -L pøestupných_sekund ]\n" " [ -p posixová_pravidla ] [ -d adresáø ] [ -L pøestupných_sekund ]\n"