<i>New test failures. Maybe unix pipe troubles?</i> status still Closed with 5 other changes
by
.
D 2024-05-22T14:14:20.874
J closedate 2460453.09329715
J closer chw
J icomment Let\sme\sexplain\swhat\sthe\schange\sis\sfor\sin\sregard\sto\sexec-17.1:\r\nThe\stest\sconstructs\sa\sscenario\swhere\r\n\r\n\sposix_spawn_file_actions_adddup2(&actions,\s1,\s1)\r\n\r\nis\sset\swhere\sthe\sfile\sdescriptor\s1\shas\sthe\sFD_CLOEXEC\sset\sdue\r\nto\sstdout\sbeing\sclosed\sand\sa\splain\sfile\sopened.\sWhen\sthis\r\ncall\sdoes\snothing\sor\sfails\s(since\swe're\sdup'ing\s1\sto\s1)\r\nthe\sexec\sdoes\snot\sget\spassed\sfile\sdescriptor\s1\sanymore\r\n(remember\sFD_CLOEXEC\sstill\sset)\sand\sthe\stest\sfails.\r\n\r\nAre\sthere\sany\sguarantees\sin\sp_s_f_a_a()\sregarding\sthis\scase?\r\nI\sthink\snot,\sand\sthis\spotentially\svaries\sbetween\sC\slib\sversions.\r\nSo\sit\sis\snot\sa\sbad\sidea\sto\scatch\sthese\sspecial\scases\sfor\sthe\r\nfile\sdescriptors\s0,\s1,\sand\s2.\r\n\r\nBTW:\sI\sobserved\sit\sin\smy\sAndroWish\sbranch\son\sDebian\s9\swhich\r\nis\squite\sold\sindeed.\sDid\sthe\spatch\sbreak\sthings\sin\sdifferent\r\nways\son\sother\s(newer)\ssystems?
J login chw
J mimetype text/x-fossil-plain
K 407b70361c1487732ef3e1fff67d61e60903431a
U chw
Z 6d10224c05f4b4f7573a7e005c86c6fe