Skip to content
Tcl Source Code Artifact [ce8f76d61d]
Login

Artifact [ce8f76d61d]

Artifact ce8f76d61d0e82f8c1fcd0508ac45fb9677a1024985658835a553c05e5c05e2c:

Ticket change [ce8f76d61d] - Ticket [407b70361c148773|407b70361c] <i>New test failures. Maybe unix pipe troubles?</i> status still Closed with 5 other changes by chw on 2024-05-22 20:28:12.
D 2024-05-22T20:28:12.104
J closedate 2460453.35291787
J closer chw
J icomment Gustaf,\r\n\r\nyep,\sDebian\s9\sis\sdead.\sBut\sI\sstill\sinsist\son\sthe\ssemantic\sof\r\n\r\nposix_spawn_file_actions_adddup2(&actions,\s1,\s1)\r\n\r\nIf\sit\sdoes\snot\sreally\sdup,\sthen\sthe\sFD_CLOEXEC\sis\snot\scleared.\r\nSince\sdup()\sseems\sto\sdo\sthis\sby\sPOSIX\sdefinition\s(but\ssee\sbelow).\r\n\r\nIf\syou\sanalyze\sthe\solden\sforkery,\sthe\strick\sis\sthat\sthe\schild\r\nbefore\sexec\sfixes\sthe\sthree\snasty\s0/1/2\sfile\sdescriptors\s\r\nto\sbe\snot\sFD_CLOEXEC.\r\n\r\nAnd\sthen\sthere's\sspecially\shackery\sfor\sthe\sultra\sdead\sUltrix\r\nin\sSetupStdFile().\sSince\sUltrix\sdoes\snot\sclear\sFD_CLOEXEC\son\r\nthe\sdup'ed\sfd\s(see\sabove).\r\n\r\nIMO\stoo\smuch\svariables\sand\sno\scertainty\sand\sno\sproper\sdefinition\r\nof\sp_s_f_a_a\sin\sPOSIX\sso\sbetter\smake\sthings\ssafe.\r\n\r\nIf\syou\sdon't\slike\sthat\spatch,\sno\sproblem,\sI\swill\slive\swith\sit.
J login chw
J mimetype text/x-fossil-plain
K 407b70361c1487732ef3e1fff67d61e60903431a
U chw
Z 5c1d19147e0b06e0c61ab07381b6c0bb