* utilvfs.c (is_localized_month): segfault fix

Andrew V. Samoilov andrew at email.zp.ua
Fri Apr 8 10:38:21 UTC 2005


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/




More information about the mc-devel mailing list