Changeset: 4abb4d253ab0 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4abb4d253ab0
Modified Files:
testing/Mtest.py.in
Branch: Nov2019
Log Message:
Call the correct function.
I guess, systems that have one have both, but what's the point of
checking for one and then using the other?
diffs (21 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -241,7 +241,7 @@ except AttributeError:
setpgrp = False
pid = osfork()
if pid == 0 and _setpgrp:
- os.setpgrp()
+ os.setpgid(0, 0)
return pid
os.fork = myfork
else:
@@ -252,7 +252,7 @@ else:
setpgrp = False
pid = osfork()
if pid == 0 and _setpgrp:
- os.setpgid(0, 0)
+ os.setpgrp()
return pid
os.fork = myfork
setpgrp = False
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list