This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 11/13/2014 10:58 PM, Rajalakshmi Srinivasaraghavan wrote:
This patch adds a check to return -2 when n is zero in mblen(), mbrlen(),mbrtowc() and mbrtoc16().
mblen should return -1 in this case, right? I don't see where it's allowed to return -2. Likewise for mbtowc.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |