Mercurial > hg > aboriginal
changeset 1293:049dc1f59113
Fix for gettext's mbuiter.h assert 'iter->cur.wc == 0' failed which I hit in two diffferen tpackage builds and which gentoo hit a year ago here: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=288743
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 21 Nov 2010 14:23:30 -0600 |
parents | 92d5df091df4 |
children | 224ccf437f5c |
files | sources/patches/uClibc-fixintlassert.patch |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/uClibc-fixintlassert.patch Sun Nov 21 14:23:30 2010 -0600 @@ -0,0 +1,11 @@ +diff -ruN uClibc/libc/misc/wchar/wchar.c uClibc.bak2/libc/misc/wchar/wchar.c +--- uClibc/libc/misc/wchar/wchar.c 2010-04-02 10:34:27.000000000 -0500 ++++ uClibc.bak2/libc/misc/wchar/wchar.c 2010-11-20 21:57:16.000000000 -0600 +@@ -286,6 +286,7 @@ + s = empty_string; + n = 1; + } else if (*s == '\0') { ++ if (pwc) *pwc = 0; + /* According to the ISO C 89 standard this is the expected behaviour. */ + return 0; + } else if (!n) {