From: Guido van Rossum Date: Thu, 26 Jan 1995 00:37:45 +0000 (+0000) Subject: uname 64-bit fix X-Git-Tag: v1.2b3~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8803dd6c3089f4dcbda061fd567acd55995d9f4;p=thirdparty%2FPython%2Fcpython.git uname 64-bit fix --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 8631e649a75b..7f20a8fc72b8 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -544,6 +544,7 @@ posix_utime(self, args) object *args; { char *path; + long atime, mtime; int res; #ifdef HAVE_UTIME_H @@ -558,8 +559,10 @@ posix_utime(self, args) #define UTIME_ARG buf #endif /* HAVE_UTIME_H */ - if (!getargs(args, "(s(ll))", &path, &ATIME, &MTIME)) + if (!getargs(args, "(s(ll))", &path, &atime, &mtime)) return NULL; + ATIME = atime; + MTIME = utime; BGN_SAVE res = utime(path, UTIME_ARG); END_SAVE