I made a mistake in sh.reinit() which caused $PPID to be set to the new process ID, not the parent process ID. This commit fixes it by introducing, updating and using sh.current_ppid, so we continue to minimise context switches due to getpid(2)/getppid(2) system calls. Thanks to Geoff Clare for the report. |
||
|---|---|---|
| .. | ||
| INIT | ||
| builtin | ||
| ksh93 | ||
| Mamfile | ||