To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108244
                 Issue #|108244
                 Summary|sal: Small fix for Linux socket handling
               Component|porting
                 Version|DEV300m68
                Platform|Opteron/x86_64
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|olistraub





------- Additional comments from [email protected] Tue Jan 12 08:53:39 
+0000 2010 -------
When building with --enable-debug (and running a program using the OO SDK), I
got the following error message:
Error: File socket.c, Line 1838: osl_destroySocket : attempt to destroy socket
while accepting

Debugging showed that the #if defined(LINUX) code is not resetting the
m_bIsAccepting flag, which causes the Error in line 1838.

Additionally, closing a closed socket (which is implicitly done by
osl_releaseSocket, if the socket is already closed) will generate an "Invalid
file descriptor" warning during the second close.

The attached patch fixes both issues.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to