]>
Commit | Line | Data |
---|---|---|
b0bf0ed7 AM |
1 | --- collectd-5.8.0/src/python.c~ 2017-11-18 10:03:27.000000000 +0100 |
2 | +++ collectd-5.8.0/src/python.c 2018-07-03 19:31:41.523756509 +0200 | |
3 | @@ -1136,7 +1136,7 @@ static void *cpy_interactive(void *pipef | |
4 | cpy_log_exception("interactive session init"); | |
5 | } | |
6 | cur_sig = PyOS_setsig(SIGINT, python_sigint_handler); | |
7 | - PyOS_AfterFork(); | |
8 | + PyOS_AfterFork_Child(); | |
9 | PyEval_InitThreads(); | |
10 | close(*(int *)pipefd); | |
11 | PyRun_InteractiveLoop(stdin, "<stdin>"); |