ALT Linux Bugzilla
– Attachment 2707 Details for
Bug 16349
gajim не может резолвить имя сервера при смене сетевых настроек
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Temporary hack to call res_init(3) before a connection in gajim.
gajim-res_init.hack (text/plain), 554 bytes, created by
avm
on 2008-07-17 22:19:08 MSD
(
hide
)
Description:
Temporary hack to call res_init(3) before a connection in gajim.
Filename:
MIME Type:
Creator:
avm
Created:
2008-07-17 22:19:08 MSD
Size:
554 bytes
patch
obsolete
>--- src/common/xmpp/transports.py (revision 9949) >+++ src/common/xmpp/transports.py (working copy) >@@ -35,6 +35,9 @@ > import os > import errno > >+import ctypes >+libc = ctypes.CDLL("libc.so.6") >+ > DATA_RECEIVED='DATA RECEIVED' > DATA_SENT='DATA SENT' > >@@ -97,6 +100,7 @@ > try: > if not server: > server=self._server >+ libc.res_init() > for ai in socket.getaddrinfo(server[0],server[1],socket.AF_UNSPEC,socket.SOCK_STREAM): > try: > self._sock=socket.socket(*ai[:3])
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 16349
: 2707