This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
gettext instead of nl_langinfo in readelf
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 30 Jul 2009 15:01:58 +0200
- Subject: gettext instead of nl_langinfo in readelf
Hi,
pmachata/pending has a patchlet that replaces the use of nl_langinfo in
formatting of DW_FORM_flag with gettext. nl_langinfo gives me empty
string for YESSTR and NOSTR values, which indicates invalid values (per
man page). readelf already uses gettext to format yes/no in case of
has_children in print_debug_abbrev_section, so that seems to be the way
to go.
Please consider merging into master.
PM