<<< Date Index >>>     <<< Thread Index >>>

mutt/2162: don't invoke bind_textdomain_codeset() whith --disable-nls



>Number:         2162
>Notify-List:    
>Category:       mutt
>Synopsis:       don't invoke bind_textdomain_codeset() whith --disable-nls
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 11 17:00:37 +0100 2006
>Originator:     Peter Breitenlohner
>Release:        1.5.10i
>Organization:
Max-Planck-Institut für Physik
Munich, Germany
>Environment:
ix86-linux-gnu, glibc-2.3.3, gcc-3.4.4
>Description:
When comiling with NLS disabled, mutt (in mbyte.c) nevertheless invokes 
bind_textdomain_codeset() (without a prototype). This function may be in a 
library (glibc) or may not. I think it should not be used with NLS disabled.
>How-To-Repeat:
configure with "--disable-nls" and compile
>Fix:
attached patch
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="mutt-1.5.10-patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="mutt-1.5.10-patch"
 
 ZGlmZiAtdXIgbXV0dC0xLjUuMTAub3JpZy9saWIuaCBtdXR0LTEuNS4xMC9saWIuaAotLS0gbXV0
 dC0xLjUuMTAub3JpZy9saWIuaAkyMDA1LTA4LTExIDIxOjM3OjAxLjAwMDAwMDAwMCArMDIwMAor
 KysgbXV0dC0xLjUuMTAvbGliLmgJMjAwNi0wMS0xMSAxNjoxNDoyNy4wMDAwMDAwMDAgKzAxMDAK
 QEAgLTUyLDYgKzUyLDcgQEAKICMgZWxzZQogIyAgZGVmaW5lIF8oYSkgKGEpCiAjICBkZWZpbmUg
 Tl8oYSkgYQorIyAgZGVmaW5lIGJpbmRfdGV4dGRvbWFpbl9jb2Rlc2V0KGEsIGIpCiAjIGVuZGlm
 CiAKICMgZGVmaW5lIFRSVUUgMQo=