Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184119 Details for
Bug 261429
icemon (in icecc-monitor) displays nothing when compiled against sys-devel/icecream 0.9.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against bug
icecream-socket.patch (text/plain), 863 bytes, created by
Eric Grüttefien
on 2009-03-06 11:14:22 UTC
(
hide
)
Description:
patch against bug
Filename:
MIME Type:
Creator:
Eric Grüttefien
Created:
2009-03-06 11:14:22 UTC
Size:
863 bytes
patch
obsolete
>--- icecream.orig/services/comm.cpp 2008-05-12 19:57:14.000000000 +0200 >+++ icecream/services/comm.cpp 2008-10-20 15:43:23.000000000 +0200 >@@ -1160,14 +1160,21 @@ > > if (ask_fd >= 0) > { >+ fcntl(ask_fd, F_SETFL, 0); > int status = connect (ask_fd, (struct sockaddr*) &remote_addr, sizeof(remote_addr) ); >- if (status == 0 || (status < 0 && errno == EISCONN)) >+ int connect_errno = errno; >+ fcntl(ask_fd, F_SETFL, O_NONBLOCK); >+ if (status == 0 || (status < 0 && connect_errno == EISCONN)) > { > int fd = ask_fd; > ask_fd = -1; > return Service::createChannel(fd, > (struct sockaddr*) &remote_addr, sizeof(remote_addr)); > } >+ else >+ { >+ log_error() << "connect failed : " << strerror(connect_errno) << endl; >+ } > } > return 0; > }
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 261429
:
184117
| 184119 |
184416