Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115235 Details for
Bug 145884
x11-libs/wxGTK-2.8 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
socketfix.patch
socketfix.patch (text/plain), 1.01 KB, created by
Kalidarn
on 2007-04-02 09:24:13 UTC
(
hide
)
Description:
socketfix.patch
Filename:
MIME Type:
Creator:
Kalidarn
Created:
2007-04-02 09:24:13 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 145884
:
97580
|
100779
|
101484
|
105283
|
105564
|
105565
|
105607
|
113338
|
115121
|
115181
|
115183
|
115235
|
115237
|
121210
|
121500
|
129686
|
131134
|
131685
|
131741
|
131887
|
138258