This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5486] nl_langinfo() returns invalid pointer instead of expected empty string
- From: "derick at php dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Dec 2007 22:52:34 -0000
- Subject: [Bug libc/5486] nl_langinfo() returns invalid pointer instead of expected empty string
- References: <20071213225007.5486.bugs@daylessday.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From derick at php dot net 2007-12-14 22:52 -------
(In reply to comment #6)
> Stop reopening the bug, this is no programming instruction course here. If your
> program wouldn't be buggy you would not have problems. You can only use the
> values which are documented as legal parameters.
hmm, I don't understand something here. You first say that value 0x11 is not an
invalid argument *and* that nl_langinfo() can also return something else than a
char*. But at the same time nl_langinfo is both documented, as well as declared
as a function returning a char*. So, how is this buggy behavior in the app - I'd
say it's a bug in nl_langinfo() if it returns something else than a char* -
especially because it's not documented that it should return any sort of other
value. So this is either a bug in nl_langinfo(), or one in the
/usr/include/langinfo.h AND the man page...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=5486
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.