mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
uname 64-bit fix
This commit is contained in:
parent
39cb5ce85d
commit
f8803dd6c3
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue