]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Getpgrp() has a parameter, at least on BSD!
authorGuido van Rossum <guido@python.org>
Fri, 7 Jun 1991 13:59:29 +0000 (13:59 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Jun 1991 13:59:29 +0000 (13:59 +0000)
Modules/posixmodule.c

index 9af13b957d179db9e6d31b4545aeef7403179cd0..567d706de7e86146edb92e9a359e175a95903a14 100644 (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 *