Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <89422A70-4BF6-4733-9400-0932A85857F9@gmail.com>
Date: Mon, 21 Sep 2015 12:21:34 +0200
From: Julien Ramseier <j.ramseier@...il.com>
To: musl@...ts.openwall.com
Subject: localeconv and char values

Hello,

Currently, all the char fields of the lconv struct returned by localeconv are set to -1.

According to http://pubs.opengroup.org/onlinepubs/9699919799/functions/localeconv.html <http://pubs.opengroup.org/onlinepubs/9699919799/functions/localeconv.html>,
negative values are not valid and CHAR_MAX should be used to indicate non-available values.

If I’m not missing anything, here’s the corresponding patch:


—
Julien


Content of type "text/html" skipped

Download attachment "fix-localeconv-char.diff" of type "application/octet-stream" (1214 bytes)

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.