This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/locale/programs locale.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/locale/programs locale.c
- From: drepper at sourceware dot cygnus dot com
- Date: 1 Oct 2000 19:12:14 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.cygnus.com 2000-10-01 12:12:14
Modified files:
locale/programs: locale.c
Log message:
Include "charmap-dir.h". Don't include <unistd.h>.
(xstrdup): New declaration.
(more_help): Use xstrdup instead of strdup.
(write_locales): Likewise. When encountering a symbolic link, call stat.
(write_charmaps): Simplify using the charmap-dir.h functions.
Use xstrdup instead of strdup.