[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext: information about execution path
From: |
BrunoM |
Subject: |
gettext: information about execution path |
Date: |
Wed, 24 Jul 2002 11:21:07 +0200 |
Hi,
I'm currently trying to debug a gettext-based application of mine, I mean
dont exactly now why gettext doesn't translate my LC_MESSAGES's, as the
catalog is there andI got it to work like this on another machine.
Thus, I wanted to use printf-debugging in the gettext source code in order
to trace variable values and discover which catalog is beeing used. But I
couldn't go far from the startpoint, gettext.c:191, where dgettext (domain,
msgid) is called: I'm unable to find which function is used with this call,
whereas on the 'good' machine (redhat) the "next hop" is dgettext.c:49,
DGETTEXT (domainname, msgid).
On the 'bad' machine (debian), I couldn't find which is the 'next hop',
although I put a lot a printf marks in the same files, but none seems to be
traversed; another file (outside the gettext's sourcetree) seems to be used
instead.
Could you please explain me the normal execution path, so that I can trace
the variable values and debug my gettext?
Thanks by advance,
BrunoM
Bruno Medici - address@hidden <mailto:address@hidden>
_____
Itool Systems - http://www.itoolsystems.com/
Tel +33 3 28 16 10 23
Fax +33 3 28 16 10 21
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gettext: information about execution path,
BrunoM <=