diff options
| author | Guido van Rossum <guido@python.org> | 1991-06-07 13:59:29 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1991-06-07 13:59:29 +0000 |
| commit | 971443b7d46f82f24412560934e9baeefaa094bc (patch) | |
| tree | 227f62b97a84b9f1ed3140d9838b501b2e561028 /Modules/posixmodule.c | |
| parent | 56b07c8ad98d9bc410e08151b9d0bbb900722f01 (diff) | |
| download | cpython-git-971443b7d46f82f24412560934e9baeefaa094bc.tar.gz | |
Getpgrp() has a parameter, at least on BSD!
Diffstat (limited to 'Modules/posixmodule.c')
| -rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 9af13b957d..567d706de7 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -527,7 +527,7 @@ posix_getpgrp(self, args) { if (!getnoarg(args)) return NULL; - return newintobject((long)getpgrp()); + return newintobject((long)getpgrp(0)); } static object * |
