Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | python.exe does not call WSAStartup | ||
---|---|---|---|
Product: | udk | Reporter: | Stephan Bergmann <stephan.bergmann.secondary> |
Component: | code | Assignee: | joergbudi |
Status: | CLOSED FIXED | QA Contact: | issues@udk <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | ahz001, issues, joergbudi |
Version: | OOO300m9 | ||
Target Milestone: | OOo 3.1 | ||
Hardware: | PC | ||
OS: | Windows, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Stephan Bergmann
2008-10-16 16:48:48 UTC
Hi, I think, it won't be enough to put this in the wrapper, the child process needs to call WSAStartup again, doesn't it? The call to WSAStartup was removed from sal with i77184 in sal/osl/w32/dllentry r1.30->1.31. Was this removal really necessary ? There are other circumstances, where SAL_IMPLEMENT_MAIN_WITH_ARGS cannot be used(e.g. think of sal lib running as internet explorer plugin, etc.). Bye, Joerg @jbu: Right, the call to WSAStartup would have to be done in the "final" executable (which is the external python-core-*\bin\python.exe, so this would become really hacky). The call to WSAStartup was moved from sal /osl/w32/dllentry.c (called upon loading sal3.dll) to sal/osl/w32/salinit.cxx (called from SAL_IMPLEMENT_MAIN) when we experimented with delay-loading libraries, see <http://wiki.services.openoffice.org/w/index.php?title=ODF_Toolkit/Efforts/OOo_without_URE&oldid=59459> "It turned out _RawDllMain in sal/osl/w32/dllentry.c:1.29 does things that cannot be done in DllMain." It needs to be re-evaluated whether the call to WSAStartup can be moved back. . fixed as cws/sb101/pyuno/source/module/uno.py@264034, simply adding "import socket" there *** Issue 87894 has been marked as a duplicate of this issue. *** @jbu: please verify verified on sb101 This issue is closed automatically. It should be fixed in a version with is available for longer than half a year (OOo 3.1). If you think this issue isn't fixed in the current version (OOo 3.2) please reopen it. But then please pay attention about the field 'target milestone'. The closure was approved by the Release Status Meeting at 22nd of February 2010 and it is based on the issue handling guideline for fixed/verified issues : http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues |