This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
nonexistent default charmap
- To: libc-alpha at sources dot redhat dot com
- Subject: nonexistent default charmap
- From: Bruno Haible <haible at ilog dot fr>
- Date: Sun, 1 Oct 2000 14:46:24 +0200 (CEST)
When no charmap is passed to "localedef", it attempts to open charmap
"POSIX" - which doesn't exist.
$ /glibc22/bin/localedef -i de_DE de_DE
Die Default-Zeichensatzbeschreibung in der Datei »POSIX« wurde nicht gefunden: Datei oder Verzeichnis nicht gefunden
Here is a fix.
2000-09-30 Bruno Haible <haible@clisp.cons.org>
* locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
*** glibc-20000928/locale/programs/config.h.bak Tue Sep 7 16:54:28 1999
--- glibc-20000928/locale/programs/config.h Sat Sep 30 18:39:16 2000
***************
*** 1,5 ****
/* Configuration for localedef program.
! Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
--- 1,5 ----
/* Configuration for localedef program.
! Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
***************
*** 28,34 ****
#include "../../version.h"
#endif
! #define DEFAULT_CHARMAP "POSIX"
#ifndef PARAMS
# if __STDC__
--- 28,34 ----
#include "../../version.h"
#endif
! #define DEFAULT_CHARMAP "ANSI_X3.4-1968" /* ASCII */
#ifndef PARAMS
# if __STDC__