Patches item #1335054, was opened at 2005-10-22 21:51 Message generated for change (Comment added) made by phodifoo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1335054&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Python 2.4 Status: Closed Resolution: Out of Date Priority: 5 Submitted By: Gunter Ohrner (interneci) Assigned to: Neal Norwitz (nnorwitz) Summary: Python 2.4.2 doesn't build with "--without-threads" Initial Comment: Build fix is attached. (Not yet runtime tested.) ---------------------------------------------------------------------- Comment By: phodifoo (phodifoo) Date: 2005-12-20 02:23 Message: Logged In: YES user_id=1230133 > This was fixed a while ago. Thanks. but it still doesn't compile in 2.4.2 the fix has somehow been lost !!! ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2005-11-02 08:11 Message: Logged In: YES user_id=33168 This was fixed a while ago. Thanks. ---------------------------------------------------------------------- Comment By: Francois Perrad (fperrad) Date: 2005-10-28 09:22 Message: Logged In: YES user_id=1293818 Just an alternate patch : --- pystate.c.orig 2005-10-27 17:35:32.000000000 +0200 +++ pystate.c 2005-10-27 17:47:16.000000000 +0200 @@ -42,10 +42,14 @@ */ static PyInterpreterState *autoInterpreterState = NULL; static int autoTLSkey = 0; + +static void _PyGILState_NoteThreadState(PyThreadState* tstate); #else #define HEAD_INIT() /* Nothing */ #define HEAD_LOCK() /* Nothing */ #define HEAD_UNLOCK() /* Nothing */ + +#define _PyGILState_NoteThreadState(tstate) #endif static PyInterpreterState *interp_head = NULL; @@ -53,8 +57,6 @@ PyThreadState *_PyThreadState_Current = NULL; PyThreadFrameGetter _PyThreadState_GetFrame = NULL; -static void _PyGILState_NoteThreadState(PyThreadState* tstate); - PyInterpreterState * PyInterpreterState_New(void) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1335054&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
