Getpgrp() has a parameter, at least on BSD!

This commit is contained in:
Guido van Rossum 1991-06-07 13:59:29 +00:00
parent 56b07c8ad9
commit 971443b7d4

View file

@ -527,7 +527,7 @@ posix_getpgrp(self, args)
{
if (!getnoarg(args))
return NULL;
return newintobject((long)getpgrp());
return newintobject((long)getpgrp(0));
}
static object *