locale i isalnum() problem

Michal Moskal malekith at pld.org.pl
Sat Mar 16 13:14:04 CET 2002


On Sat, Mar 16, 2002 at 01:34:56AM +0100, Andrzej Krzysztofowicz wrote:
> Czesc.
> 
> Moze sa tu jacys specjalisci od glibc-owych locale, ktorzy by potrafili
> stwierdzic, dlaczego w joe przy ustawieniu LANG=pl_PL uzyskuje sie:
> 
> isalnum(2147483646) == 8 (zamiast 0, jak dla "C")
> ?

Specjalistą od locali to nie jestem, ale:

DESCRIPTION
       These functions check whether c, which must have the value
       of an unsigned char or EOF, falls into a certain character
       class according to the current locale.

czyli wywołanie isalnum(2147483646) jest nielegalne.

-- 
: Michal Moskal :::::::: malekith/at/pld.org.pl :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h



More information about the pld-devel-pl mailing list