This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]