Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122261 Details for
Bug 182249
bitpim 1.0.2 is now current, but needs updated wxGTK and wxpython
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wxGTK socket fix patch
socketfix.patch (text/plain), 1.01 KB, created by
Steve Arnold
on 2007-06-16 19:26:23 UTC
(
hide
)
Description:
wxGTK socket fix patch
Filename:
MIME Type:
Creator:
Steve Arnold
Created:
2007-06-16 19:26:23 UTC
Size:
1.01 KB
patch
obsolete
>Index: src/unix/gsocket.cpp >=================================================================== >RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/unix/gsocket.cpp,v >retrieving revision 1.67.2.2 >diff -u -r1.67.2.2 gsocket.cpp >--- src/unix/gsocket.cpp 2007/03/17 02:15:29 1.67.2.2 >+++ src/unix/gsocket.cpp 2007/03/25 19:28:24 >@@ -1168,17 +1168,16 @@ > else > ret = Recv_Dgram(buffer, size); > >- /* If recv returned zero, then the connection is lost, and errno is not set. >+ /* If recv returned zero, then the connection has been gracefully closed. > * Otherwise, recv has returned an error (-1), in which case we have lost the > * socket only if errno does _not_ indicate that there may be more data to read. > */ > if (ret == 0) > { >- m_error = GSOCK_IOERR; >+ /* Make sure wxSOCKET_LOST event gets sent */ > m_detected = GSOCK_LOST_FLAG; >- Close(); >- // Signal an error for return >- return -1; >+ Detected_Read(); >+ return 0; > } > else if (ret == -1) > {
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 182249
:
122255
|
122256
|
122258
|
122260
|
122261
|
122262
|
136839
|
136841
|
136843
|
136845