]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
uname 64-bit fix
authorGuido van Rossum <guido@python.org>
Thu, 26 Jan 1995 00:37:45 +0000 (00:37 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Jan 1995 00:37:45 +0000 (00:37 +0000)
Modules/posixmodule.c

index 8631e649a75bd173a3c252fa574d46f459cab082..7f20a8fc72b8e9cd597645d044591275d159b840 100644 (file)
@@ -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