Overview
| Comment: | Prefer vfork() over posix_spawnp() In essence, older versions of the posix_spawn(p) implementation under glibc have the problem not returning the correct error number in case the spawn call fails. This is e.g. a problem with CentOS 7, which uses GNU libc 2.17, which was released 2012-12-25. This has the consequence that on such systems, Tcl is not error message compliant to versions without posix_spawn. The versions of vfork() do not face this problem and show similar performance characteristics like with posix_spawnp() (spawn time in essence independent of memory footprint size). This change was tested with macOS 13.4, Ubuntu 20.04, CentOS 7.9 and OpenBSD 7.2. |
|---|---|
| Timelines: | family | ancestors | descendants | both | bug-c54e4a1aeb |
| Files: | files | file ages | folders |
| SHA3-256: |
34b7d9b576ef7d90ead2825070abc9a9 |
| User & Date: | neumann on 2023-07-25 09:01:51.027 |
| Other Links: | branch diff | manifest | tags |
Context
|
2023-07-25
| ||
| 15:07 | Regenerated configure file check-in: 642383fd98 user: neumann tags: bug-c54e4a1aeb | |
| 09:01 | Prefer vfork() over posix_spawnp() In essence, older versions of the posix_spawn(p) implementation ... check-in: 34b7d9b576 user: neumann tags: bug-c54e4a1aeb | |
| 07:54 | Make use_spawn static check-in: 9f8046157c user: jan.nijtmans tags: bug-c54e4a1aeb | |
Changes
Modified unix/tcl.m4
from [041014d0bd]
to [6c37817f5f].
[diff]
Modified unix/tclUnixPort.h
from [d26502ad36]
to [f0ab913dd5].
[diff]