diff options
author | Guido van Rossum <guido@python.org> | 1991-06-07 13:59:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-07 13:59:29 (GMT) |
commit | 971443b7d46f82f24412560934e9baeefaa094bc (patch) | |
tree | 227f62b97a84b9f1ed3140d9838b501b2e561028 /Modules | |
parent | 56b07c8ad98d9bc410e08151b9d0bbb900722f01 (diff) | |
download | cpython-971443b7d46f82f24412560934e9baeefaa094bc.zip cpython-971443b7d46f82f24412560934e9baeefaa094bc.tar.gz cpython-971443b7d46f82f24412560934e9baeefaa094bc.tar.bz2 |
Getpgrp() has a parameter, at least on BSD!
Diffstat (limited to 'Modules')
-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 9af13b9..567d706 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 * |