getlonglongargs --> getlonglongarg

Fixed type error in argument of newopenfileobject.
This commit is contained in:
Guido van Rossum 1991-09-10 14:56:48 +00:00
parent c5da350310
commit b988c33d5a
1 changed files with 3 additions and 2 deletions

View File

@ -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 *