diff options
Diffstat (limited to 'lang/python/patches/patch-ai')
-rw-r--r-- | lang/python/patches/patch-ai | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lang/python/patches/patch-ai b/lang/python/patches/patch-ai deleted file mode 100644 index d35ef1c0b08..00000000000 --- a/lang/python/patches/patch-ai +++ /dev/null @@ -1,33 +0,0 @@ -Index: Modules/timemodule.c -=================================================================== -RCS file: /projects/cvsroot/python/dist/src/Modules/timemodule.c,v -retrieving revision 2.58 -diff -c -r2.58 timemodule.c -*** timemodule.c 1998/03/06 17:16:21 2.58 ---- timemodule.c 1998/04/27 18:47:53 -*************** -*** 304,309 **** ---- 304,311 ---- - char *outbuf = 0; - int i; - -+ memset((ANY *) &buf, '\0', sizeof(buf)); -+ - if (!PyArg_ParseTuple(args, "s(iiiiiiiii)", - &fmt, - &(buf.tm_year), -*************** -*** 321,332 **** - buf.tm_mon--; - buf.tm_wday = (buf.tm_wday + 1) % 7; - buf.tm_yday--; -- #ifdef HAVE_MKTIME -- /* This call is only there to adjust the numbers to be within -- bounds. When we don't have mktime(), we say the caller is -- responsible for that... */ -- (void) mktime(&buf); -- #endif - /* I hate these functions that presume you know how big the output - * will be ahead of time... - */ ---- 323,328 ---- |