Commit f8803dd6 authored by Guido van Rossum's avatar Guido van Rossum

uname 64-bit fix

parent 39cb5ce8
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment