Author: guido.van.rossum
Date: Sat Aug 25 05:14:09 2007
New Revision: 57446

Modified:
   python/branches/py3k/Modules/timemodule.c
Log:
Reorder code and decls so it's compilable with gcc 2.96 (C89).


Modified: python/branches/py3k/Modules/timemodule.c
==============================================================================
--- python/branches/py3k/Modules/timemodule.c   (original)
+++ python/branches/py3k/Modules/timemodule.c   Sat Aug 25 05:14:09 2007
@@ -354,9 +354,10 @@
 gettmarg(PyObject *args, struct tm *p)
 {
        int y;
-       memset((void *) p, '\0', sizeof(struct tm));
        PyObject *t = NULL;
 
+       memset((void *) p, '\0', sizeof(struct tm));
+
        if (PyTuple_Check(args)) {
                t = args;
                Py_INCREF(t);
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to