[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#73058: glibc 2.2 (2.1.94) and i18n in argp
From: |
Petr Vandrovec |
Subject: |
Bug#73058: glibc 2.2 (2.1.94) and i18n in argp |
Date: |
Tue, 3 Oct 2000 17:58:38 +0200 |
User-agent: |
Mutt/1.2.5i |
Package: libc6
Version: 2.1.94-3
Hi,
I was looking into porting ncpfs/libncp from getopt to argp
functions, and to my surprise, i18n does not work for them.
Problem is that (at least) under Debian,
#ifndef _
# ifdef HAVE_LIBINTL_H
# include <libintl.h>
# else
# define dgettext(domain, msgid) (msgid)
# endif
#endif
in each of argp files just defines dgettext(domain,msgid) as (msgid),
as _ is not defined (why it should be?) and HAVE_LIBINTL_H does not
exist in config.h ... (nor in config.h.in :-( )...
And another related problem - I think that argp_version_options
and argp_default_options should specify "libc" as argp_domain, and
not leaving this field NULL. NULL is domain selected by textdomain(),
isn't it?
Thanks,
Petr Vandrovec
address@hidden
(CCed to bug-glibc, as I believe that problem is not in Debian build
process, but in glibc itself)
- Bug#73058: glibc 2.2 (2.1.94) and i18n in argp,
Petr Vandrovec <=