Tcl Source Code

Check-in [4af19e7744]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Declare errPipeIn/errPipeOut volatile in TclpCreateProcess: fork() is vfork() here, which may clobber them (-Wclobbered).
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | exec-closed-stdio
Files: files | file ages | folders
SHA3-256: 4af19e774407f130340f2afd3e317abb58d9947df598505696e20c056964e579
User & Date: serhiy.storchaka 2026-10-20 21:27:25.626
References
2026-10-20
21:28 • Ticket [21dbc600ae] exec hangs, iff stdin & stdout both were previously clos... artifact: d25c98d11f user: serhiy.storchaka
Context
2026-10-21
06:28
Fix [21dbc600ae]: exec hangs, iff stdin & stdout both were previously closed check-in: 32b22bfeb5 user: jan.nijtmans tags: trunk, main
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
Changes
Unified Diff Side-by-Side Diff Patch
Changes to unix/tclUnixPipe.c.