NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/42320 CVS commit: src/dist/nawk
The following reply was made to PR bin/42320; it has been noted by GNATS.
From: Takehiko NOZAKI <takehiko.nozaki%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: PR/42320 CVS commit: src/dist/nawk
Date: Sun, 22 Nov 2009 02:33:42 +0900
...and one more, don't modify struct lconv returnrd by localeconv(3).
see RETURN VALUE section:
http://www.opengroup.org/onlinepubs/000095399/functions/localeconv.html
The localeconv() function shall return a pointer to the filled-in object.
The application shall not modify the structure pointed to by the return value
which may be overwritten by a subsequent call to localeconv(). In addition,
calls to setlocale() with the categories LC_ALL , LC_MONETARY , or LC_NUMERIC
may overwrite the contents of the structure.
--
Takehiko NOZAKI<takehiko.nozaki%gmail.com@localhost>
Home |
Main Index |
Thread Index |
Old Index