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

Check-in [c6f3b26c02]

Overview
Comment:Fix [21dbc600ae]: [exec] hung if stdin and stdout were closed: its pipe got descriptors 0 and 1, which TclpCloseFile() never closes, so the parent kept the write end open. Move descriptors created for a pipeline above 2.
Timelines: family | ancestors | descendants | both | exec-closed-stdio
Files: files | file ages | folders
SHA3-256: c6f3b26c02515bd9dcdf750bbaa0e052f73b7bfecaae596d004e2f1a0487e249
User & Date: serhiy.storchaka on 2026-10-13 18:33:34.916
Other Links: branch diff | manifest | tags
Context
2026-10-20
21:27
Declare errPipeIn/errPipeOut volatile in TclpCreateProcess: fork() is vfork() here, which may clobbe... closed check-in: 4af19e7744 user: serhiy.storchaka tags: exec-closed-stdio
2026-10-13
18:33
Fix [21dbc600ae]: [exec] hung if stdin and stdout were closed: its pipe got descriptors 0 and 1, whi... check-in: c6f3b26c02 user: serhiy.storchaka tags: exec-closed-stdio
15:09
Fix [3865631578]: writing a file beyond the file size limit (ulimit -f) killed the process with SIGX... check-in: 9a3e24fe8a user: jan.nijtmans tags: trunk, main
Changes