1999-12-09  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-collate.c (insert_value): If this is the
	first symbol the cursor can be the same as the next pointer.
This commit is contained in:
Ulrich Drepper 1999-12-09 08:21:40 +00:00
parent f1d8b8044e
commit 7bd3a4eadb
3 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,8 @@
1999-12-09 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-collate.c (insert_value): If this is the
first symbol the cursor can be the same as the next pointer.
1999-12-08 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping

View file

@ -457,7 +457,8 @@ insert_value (struct linereader *ldfile, struct token *arg,
return;
/* Test whether this element is not already in the list. */
if (elem->next != NULL || elem->next == collate->cursor)
if (elem->next != NULL || (collate->cursor != NULL
&& elem->next == collate->cursor))
{
lr_error (ldfile, _("order for `%.*s' already defined at %s:%Z"),
arg->val.str.lenmb, arg->val.str.startmb,

View file

@ -1,5 +1,10 @@
1999-12-08 Ulrich Drepper <drepper@cygnus.com>
* tests/test6.c: New file.
* tests/test6.cm: New file.
* tests/test6.def: New file.
* tests/test6.mne: New file.
* repertoiremaps/mnemonic.ds: Add U066A, UFE80, UFE81, UFE83,
UFE85, and UFE8B.
* charmaps/IBM864: Add mapping for /x25, /xc1, /xc2, /xc3, /xc4,