On Tue, Jul 15, 2003 at 08:42:04PM -0400, Charles Wilson wrote:
> Real fix: figure out why sharutils thinks it needs access to that
> variable, and use the public API to do the same thing.  If possible.

shar just uses the value to print it to stdout if the option
--print-text-domain-dir is given.

AFAICS, printing this value is even wrong.  The correct value is the
one returned by a former call to bindtextdomain(), right?  So I'd
guess the correct solution would be to store the return value of
bindtextdomain() and to use this to print:

  localedir = bindtextdomain (PACKAGE, LOCALEDIR);
  ...
  puts (localedir);

Am I right here?  I had not much to do with libintl so far so please
excuse my questions.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to