mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
[BZ #3745]
* locale/programs/ld-collate.c (handle_ellipsis): Fix generation of names for ellipsises.
This commit is contained in:
parent
07fb518573
commit
5e9e9c1472
@ -1,5 +1,9 @@
|
||||
2007-02-17 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #3745]
|
||||
* locale/programs/ld-collate.c (handle_ellipsis): Fix generation
|
||||
of names for ellipsises.
|
||||
|
||||
[BZ #3348]
|
||||
* malloc/memusage.sh: Cleanups.
|
||||
* debug/xtrace.sh: Quoting and trap changes.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995-2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2003, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
|
||||
|
||||
@ -1330,8 +1330,9 @@ order for `%.*s' already defined at %s:%Zu"),
|
||||
uint32_t wc;
|
||||
int cnt;
|
||||
|
||||
/* Generate the the name. */
|
||||
sprintf (buf + preflen, base == 10 ? "%ld" : "%lX", from);
|
||||
/* Generate the name. */
|
||||
sprintf (buf + preflen, base == 10 ? "%0*ld" : "%0*lX",
|
||||
(int) (lenfrom - preflen), from);
|
||||
|
||||
/* Look whether this name is already defined. */
|
||||
void *ptr;
|
||||
@ -3571,7 +3572,6 @@ error while adding equivalent collating symbol"));
|
||||
|
||||
if (was_ellipsis != tok_none)
|
||||
{
|
||||
|
||||
handle_ellipsis (ldfile, symstr, symlen, was_ellipsis,
|
||||
charmap, repertoire, result);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user