<i>modernize [file stat] interface</i> status still Open with 3 other changes
by
.
D 2021-01-13T03:07:26.897
J comment This\schange\smakes\sthe\s`varName`\sargument\sto\s[file\sstat]\soptional,\sintroducing\sa\s\r\n1-argument\sform.\s\sThe\s2-argument\sform\sis\sunchanged.\s\sThe\snew\s1-argument\sform\s\r\nproduces\sthe\ssame\serrors,\sbut\son\ssuccess\sreturns\sits\sresult\sas\sa\sdictionary\s\r\ninstead\sof\spopulating\san\sarray\sin\sthe\scaller's\snamespace.\s\sThe\sdictionary\sresult\s\r\nis\sidentical\swith\swhat\swould\sbe\sstored\sin\sthe\sarray.\s\sCalling\s[file\sstat]\swith\s\r\none\sargument\spreviously\sraised\sa\s{TCL\sWRONGARGS}\serror,\sso\sthis\schange\scan\sbe\s\r\nconsidered\sbackward-compatible.\r\n\r\nReturning\sa\sdictionary\sis\sbeneficial\sin\sthat\sit\scan\sbe\spassed\s&\sreturned\sby\svalue\s\r\nbetween\sprocs,\sit\scan\sbe\sprocessed\sby\s[dict]\scommands\sand\sthe\scaller\shas\sfull\s\r\ncontrol\sover\swhether\sand\show\sto\sstore\sit\sin\sa\svariable.\r\n\r\nAttached\spatch\simplements\ssuch\sbehaviour.\s\sNote\sthat\stests\scmdAH-28.1\sand\s\r\ncmdAH-28.2\sare\saffected\sby\sthis\schange.\sThe\spatch\saddress\sthis\sissue\sas\swell.
J login aspect
J mimetype text/plain
K 560c5e438c47f5fdd34846dbb333ab96cb905416
U aspect
Z 983d00401bc80645f868b4b0d7534d1f