mailing list of musl libc
 help / color / mirror / code / Atom feed
* gettext API question - null pointer issue again
@ 2019-06-27  4:18 Rich Felker
       [not found] ` <20190627041820.GA29896-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Felker @ 2019-06-27  4:18 UTC (permalink / raw)
  To: Bruno Haible; +Cc: musl

Could you answer a question about the gettext API that's come up again
in the context of musl's implementation? The gettext manual documents
that for the message key argument to these functions:

    "If the argument is NULL the result is undefined."

https://www.gnu.org/software/gettext/manual/html_node/Interface-to-gettext.html

And it looks like you've treated passing a null argument as a bug in
the past:

https://www.mail-archive.com/bug-gnulib@gnu.org/msg36249.html

It's come up again with GIMP doing it:

https://github.com/void-linux/void-packages/issues/12042

Should we continue to treat this as an application bug and ask the app
maintainers to fix it when it's found? That's my leaning but I want to
make sure we're still on the same page.

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-27  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27  4:18 gettext API question - null pointer issue again Rich Felker
     [not found] ` <20190627041820.GA29896-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2019-06-27  7:58   ` Bruno Haible

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).