Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35626 Details for
Bug 57369
wrong setlocale for fluxbox fixed with included patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the wrong setlocate() call in file I18N.cc from fluxbox 0.9.9
fluxbox-0.9.9-r1-i18n.patch (text/plain), 542 bytes, created by
Don Quijote
on 2004-07-17 02:26:22 UTC
(
hide
)
Description:
patch to fix the wrong setlocate() call in file I18N.cc from fluxbox 0.9.9
Filename:
MIME Type:
Creator:
Don Quijote
Created:
2004-07-17 02:26:22 UTC
Size:
542 bytes
patch
obsolete
>--- src/I18n.cc.orig 2004-07-17 10:39:51.270046208 +0200 >+++ src/I18n.cc 2004-07-17 10:41:47.696346720 +0200 >@@ -54,7 +54,9 @@ > I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) { > #ifdef HAVE_SETLOCALE > //make sure we don't get 0 to m_locale string >- char *temp = setlocale(LC_ALL, ""); >+ char *temp; >+ (void)setlocale(LC_ALL, ""); >+ temp = setlocale(LC_MESSAGES, NULL); > m_locale = ( temp ? temp : ""); > if (m_locale.empty()) { > cerr<<"Warning: Failed to set locale, reverting to \"C\""<<endl;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57369
: 35626