1 --- procps-3.2.7/proc/escape.c 2005-01-06 07:50:26.000000000 +1100
2 +++ procps-3.2.7.fixed/proc/escape.c 2008-09-09 11:55:57.000000000 +1000
7 -#if (__GNU_LIBRARY__ >= 6)
8 +#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
11 # include <stdlib.h> /* MB_CUR_MAX */
13 # include <langinfo.h>
16 -#if (__GNU_LIBRARY__ >= 6)
17 +#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
18 static int escape_str_utf8(char *restrict dst, const char *restrict src, int bufsize, int *maxcells){
22 "********************************"
23 "********************************";
25 -#if (__GNU_LIBRARY__ >= 6)
26 +#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
27 static int utf_init=0;