Skip to content
Tcl Source Code Check-in [34b7d9b576]
Login

Check-in [34b7d9b576]

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: 34b7d9b576ef7d90ead2825070abc9a95594111381d9d5a84cf591b472c41079
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