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

Bug#528657: locales: shs_CA locale causes segfault while running cal



reassign 528657 bsdmainutils
thanks

On Thu, May 14, 2009 at 02:29:20PM +0200, Євгеній Мещеряков wrote:
> Package: locales
> Version: 2.9-12
> Severity: normal
> 
> It seems there is a problem in shs_CA locale:
> 
> % LC_ALL=shs_CA.UTF-8 cal
>                                                                                 �����                                �����                                                              �����
> Sx Sp Se Ke Me Ts Tq
>                 1  2
>  3  4  5  6  7  8  9
> 10 11 12 13 14 15 16
> 17 18 19 20 21 22 23
> 24 25 26 27 28 29 30
> 31
> zsh: segmentation fault  LC_ALL=shs_CA.UTF-8 cal
> 
> (there are some characters displayed as replacement chars, sometimes there
> are some other random characters there).
> 
> I cannot reproduce this bug with any other locale. This bug can be reproduced
> with both locales-all and locales packages.
> 

This is not a bug of the locale, but of cal. This program tries to
center the month, and does not take care of the case where the name of
the month is wider than the displayed calendar.

Reassigning the bug.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: