[Patches] [ python-Patches-459385 ] 2.1.1 time.timezone fix for Cygwin

noreply@sourceforge.net noreply@sourceforge.net
Thu, 06 Sep 2001 18:27:44 -0700


Patches item #459385, was opened at 2001-09-06 18:27
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=459385&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Norman Vine (nhv)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.1.1 time.timezone fix for Cygwin

Initial Comment:
*** timemodule.bak	Wed Jun 27 09:01:54 2001
--- timemodule.c	Thu Sep  6 20:29:28 2001
***************
*** 599,605 ****
  	/* Squirrel away the module's dictionary for 
the y2k check */
  	Py_INCREF(d);
  	moddict = d;
! #if defined(HAVE_TZNAME) && !defined(__GLIBC__)
  	tzset();
  #ifdef PYOS_OS2
  	ins(d, "timezone", PyInt_FromLong((long)
_timezone));
--- 599,605 ----
  	/* Squirrel away the module's dictionary for 
the y2k check */
  	Py_INCREF(d);
  	moddict = d;
! #if defined(HAVE_TZNAME) && !defined(__GLIBC__) &&!
defined(__CYGWIN__)
  	tzset();
  #ifdef PYOS_OS2
  	ins(d, "timezone", PyInt_FromLong((long)
_timezone));


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=459385&group_id=5470