ALT Linux Bugzilla
– Attachment 7326 Details for
Bug 33390
[sysv] вопросики в заголовках шагов
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Наивная попытка починить локаль в vhttpd
vhttpd-locale-naive.patch (text/plain), 584 bytes, created by
manowar@altlinux.org
on 2017-12-21 14:26:32 MSK
(
hide
)
Description:
Наивная попытка починить локаль в vhttpd
Filename:
MIME Type:
Creator:
manowar@altlinux.org
Created:
2017-12-21 14:26:32 MSK
Size:
584 bytes
patch
obsolete
>diff --git a/vhttpd/guile/wrap.c b/vhttpd/guile/wrap.c >index 0f5fef8..0ddd8d2 100644 >--- a/vhttpd/guile/wrap.c >+++ b/vhttpd/guile/wrap.c >@@ -6,6 +6,7 @@ > > #include <libguile.h> > #include <vhttpd.h> >+#include <locale.h> > > /*** main wrappers */ > static SCM >@@ -641,6 +642,8 @@ void scm_init_vhttpd (void); > void > scm_init_vhttpd (void) > { >+ setlocale(LC_ALL, "ru_RU.UTF-8"); // FIXME >+ > /* vhttpd/socket.h */ > scm_c_define_gsubr ("make-unix-client-socket", 1, 0, 0, _make_unix_client_socket); > scm_c_define_gsubr ("make-unix-server-socket", 3, 0, 0, _make_unix_server_socket);
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 33390
:
7065
|
7085
|
7254
| 7326