Re: * utilvfs.c (is_localized_month): segfault fix



Hello,

> +    while ((i < 3) && *month && !isdigit (*month) && !iscntrl (*month)
> +          && !ispunct (*month)) {
> 
> 
> What about changing the above to:
> 
>   while ((i < 3) && *month && isalpha (*month))

There is comment some lines above:

 * isalpha() is locale specific, so it cannot be used if current
 * locale is "C" and ftp server use Cyrillic.
 

-- 
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]