Skip to content
Tcl Source Code Artifact [5731532058]
Login

Artifact [5731532058]

Artifact 5731532058bb14dd8b2a63b24a6f18307674335562e3082f40f3489a6b05ea44:

Ticket change [5731532058] - Open ticket [0f1ddc0df7fb734c|0f1ddc0df7]: <i>exec does not handle encoding</i> plus 5 other changes by pooryorick on 2024-05-13 09:08:00.
D 2024-05-13T09:08:00.963
J closer nobody
J icomment I've\sreopened\sthis\sissue\sand\schanged\sthe\sresolution\sto\s"wont\sfix"\sin\sorder\sto\sfurther\sdiscuss\sthis.\s\s"replace"\sis\sa\sminefield,\sand\ssaving\sunsuspecting\sscripts\sfrom\sstepping\son\sa\smine\swhen\susing\s<code>exec</code>\swas\sa\sbig\sbenefit\sof\sthe\sdecision\sto\suse\s"strict"\sby\sdefault.\s\sglob\swas\sonly\sexcluded\sfrom\sTIP\s657\sbecause\sno\sone\shad\sthe\swherewithal\sto\sfix\sit\sat\sthe\stime\sof\sthat\sTIP.\sBad\sdata\sdue\sto\sbad\sencoding\sis\sa\sbig\sproblem.\s\sBad\sdata\scause\sproblems\sdown\sthe\sline\safter\sit's\stoo\slate\sto\sdo\sanything\sabout\sit,\sespecially\swhen\sthey\sget\sinto\spersistent\sstorage\sand\sare\sprocessed\smuch\slater.\s\sIt\sis\squite\scommon\sfor\snaive\sscripts\sto\suse\s<code>exec</code>\sto\sobtain\sbinary\sdata.\s\sIn\sthis\scase\sthe\searlier\sthere\sis\sa\snotable\serror\sthe\sbetter,\sas\sit\sallows\sthe\sauthor\sto\scorrect\sthe\sscript.\s\sThis\scase\sis\smuch\smore\scommon\sthan\sthe\smixed-encoding\sproblem\sraised\sin\sthe\scurrent\sissue.\s\sFor\sprograms\slike\sthe\sdiff\sprogram\smentioned\sin\sthis\sissue\sthat\sare\sjust\sdoing\stheir\sjob\sin\ssome\sencoding-agnostic\sway,\s<code>open</code>\scan\salways\sbe\sused\sinstead.\s\sTherefore,\sthere\sis\sno\sreal\sneed\sto\sstrip\s<code>exec</code>\sof\sits\sstrict\sbehaviour.\r\n\r\nI\spropose\sthat\s<code>exec</code>\sretain\sits\snewfound\sstrict\spowers,\sand\sthat\sTcl\sdevelopers\sfocus\son\sadding\sfurther\sknobs\sto\sexec\sif\sthat\sis\sdeemed\sworthwhile.
J login pooryorick
J mimetype text/x-fossil-wiki
J resolution Wont\sFix
J status Open
K 0f1ddc0df7fb734cf1cba12ac7c529d29fefb842
U pooryorick
Z 5dddf1e6eadae785d0703bfb13f395b0