From: Jason T. <Jas...@do...> - 2000-12-27 14:37:46
|
On Sun, 10 Dec 2000 23:27:49 +0100, David Leonard wrote: > * python-ldap-1.10 will be tidied up, with just the memory-leak > patches applied, and a proper documentation build. (ie no v3 > changes will be applied as it breaks v2 builds.) A final release > will be made. Hopefully, the attached patch (against python-ldap-1.10alpha3) can still be considered for inclusion in the 1.10 final release. It enables python-ldap to build OOTB as a shared extension for Cygwin Python. Cygwin is an open-source POSIX emulation layer that enables many GNU and UNIX tools to port to Windows without any source code changes. If interested, please see http://www.cygwin.com for more information. Note that the patch has no functional changes -- it only enables the code to compile cleanly with Cygwin gcc. Specifically, the changes are as follows: 1. replaced #ifdef WIN32 with #if defined(WIN32) || defined(__CYGWIN__) as described in http://www.python.org/doc/FAQ.html#3.24 2. added DL_EXPORT to init_ldap() I'm quite willing to redo the patch against python-ldap CVS if that will facilitate its acceptance. My original plan was to wait until the Cygwin Python DLL and Shared Extension Patch: http://sourceforge.net/patch/?func=detailpatch&patch_id=102409&group_id=5470 was accepted and committed into Python CVS before contacting the list. However, due to the impending 1.10 final release, I realized that it would be prudent to submit the patch sooner rather than later. The procedure to apply the patch (to python-ldap-1.10alpha3) is as follows: $ cd python-ldap-1.10alpha3 $ # save the attachment to the current directory $ patch -p1 <Cygwin-python-ldap-1.10alpha3.patch Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jas...@do... Hazlet, NJ 07730 USA WWW: http://www.dothill.com |