Commit 9c72b4b1 authored by Guido van Rossum's avatar Guido van Rossum

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

parent e663a5d1
......@@ -527,7 +527,7 @@ posix_getpgrp(self, args)
{
if (!getnoarg(args))
return NULL;
return newintobject((long)getpgrp());
return newintobject((long)getpgrp(0));
}
static object *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment