Add a note about the location of ca-bundle.crt.
[fedora-mingw.git] / python / python-2.5-tkinter.patch
1 --- Python-2.5-orig/Modules/_tkinter.c  2006-08-11 22:33:36.000000000 -0400
2 +++ Python-2.5/Modules/_tkinter.c       2007-10-19 01:04:42.000000000 -0400
3 @@ -938,7 +938,7 @@
4  #if defined(Py_UNICODE_WIDE) && TCL_UTF_MAX == 3
5                 Tcl_UniChar *outbuf;
6                 Py_ssize_t i;
7 -               assert(size < size * sizeof(Tcl_UniChar));
8 +               assert(size == 0 || size < size * sizeof(Tcl_UniChar));
9                 outbuf = (Tcl_UniChar*)ckalloc(size * sizeof(Tcl_UniChar));
10                 if (!outbuf) {
11                         PyErr_NoMemory();