mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
Getpgrp() has a parameter, at least on BSD!
This commit is contained in:
parent
56b07c8ad9
commit
971443b7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ posix_getpgrp(self, args)
|
||||||
{
|
{
|
||||||
if (!getnoarg(args))
|
if (!getnoarg(args))
|
||||||
return NULL;
|
return NULL;
|
||||||
return newintobject((long)getpgrp());
|
return newintobject((long)getpgrp(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
static object *
|
static object *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue