From f2e9fdbd86cdb57fa2438b0b7df68c51045ee117 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Fri, 21 Nov 2003 03:15:02 +0000 Subject: Add fix for a fatal bug in type's GC handling causes segfaults. http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u Obtained from: Python CVS --- lang/python24/files/patch-Include::weakrefobject.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lang/python24/files/patch-Include::weakrefobject.h (limited to 'lang/python24/files/patch-Include::weakrefobject.h') diff --git a/lang/python24/files/patch-Include::weakrefobject.h b/lang/python24/files/patch-Include::weakrefobject.h new file mode 100644 index 000000000000..c3d47e307279 --- /dev/null +++ b/lang/python24/files/patch-Include::weakrefobject.h @@ -0,0 +1,11 @@ +--- Include/weakrefobject.h.orig Mon Aug 12 16:21:58 2002 ++++ Include/weakrefobject.h Fri Nov 21 11:39:53 2003 +@@ -39,6 +39,8 @@ + + PyAPI_FUNC(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head); + ++PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self); ++ + #define PyWeakref_GET_OBJECT(ref) (((PyWeakReference *)(ref))->wr_object) + + -- cgit v1.2.3