Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f8803dd6
Commit
f8803dd6
authored
Jan 26, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uname 64-bit fix
parent
39cb5ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Modules/posixmodule.c
Modules/posixmodule.c
+4
-1
No files found.
Modules/posixmodule.c
View file @
f8803dd6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment