[PATCH] Avoid YESSTR and NOSTR

Mark Wielaard mark@klomp.org
Wed Apr 26 15:14:00 GMT 2017


On Thu, Apr 20, 2017 at 03:47:49PM +0200, Ulf Hermann wrote:
> Those are deprecated and apparently some implementations of nl_langinfo
> return empty strings for them. The tests even tested for those empty
> strings even though the intention of the code was clearly to output
> "yes" or "no" there.

Urgh. Good find. YESSTR and NOSTR were once meant for matching user
input. Using them for output was probably always wrong.

Pushed to master.

Thanks,

Mark



More information about the Elfutils-devel mailing list