Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Sebastien Marie
On Tue, Jul 07, 2015 at 10:37:34AM +0200, Stefan Sperling wrote: On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. Yes,

[patch] unsync between ctype and wctype

2015-07-07 Thread Sebastien Marie
Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. The problem is _C_ctype_ (in gen/ctype_.c) and _DefaultRuneLocale (in locale/runetable.c) define differently characters class for char = 0x80. After

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Stefan Sperling
On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. The problem is _C_ctype_ (in gen/ctype_.c) and _DefaultRuneLocale (in

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Todd C. Miller
On Tue, 07 Jul 2015 10:51:22 +0200, Sebastien Marie wrote: New patch with lines removed. Makes sense. OK millert@ - todd

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Roland Kammerer
On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Note I am unsure on a point: the array is defined to be _CACHED_RUNES (18 = 256) elements in size. Here the initialisation is for 128 elements. int tab[256] = {0, 1, 2, ..., 126, 127}; Should the rest of the array be