summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-09-10 14:56:48 (GMT)
committerGuido van Rossum <guido@python.org>1991-09-10 14:56:48 (GMT)
commitb988c33d5a17df053e0a77f72f71513172a03364 (patch)
tree5d44e022920c37b4b29e0067dd57e3e63ecdc350 /Modules
parentc5da35031084ef05a9f0d2fa402586a9ff531f06 (diff)
downloadcpython-b988c33d5a17df053e0a77f72f71513172a03364.zip
cpython-b988c33d5a17df053e0a77f72f71513172a03364.tar.gz
cpython-b988c33d5a17df053e0a77f72f71513172a03364.tar.bz2
getlonglongargs --> getlonglongarg
Fixed type error in argument of newopenfileobject.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 204918b..ec3e67d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -413,7 +413,7 @@ posix_utime(self, args)
return NULL;
}
if (!getstrarg(gettupleitem(args, 0), &path) ||
- !getlonglongargs(gettupleitem(args, 1), &ATIME, &MTIME))
+ !getlonglongarg(gettupleitem(args, 1), &ATIME, &MTIME))
return NULL;
if (utime(getstringvalue(path), UTIME_ARG) < 0)
return posix_error();
@@ -574,7 +574,8 @@ posix_popen(self, args)
/* From now on, ignore SIGPIPE and let the error checking
do the work. */
(void) signal(SIGPIPE, SIG_IGN);
- return newopenfileobject(fp, name, mode, pclose);
+ return newopenfileobject(fp, getstringvalue(name),
+ getstringvalue(mode), pclose);
}
static object *