: <i>publicize TclWinConvertError and TclWinConvertWSAError</i> plus 9 other changes
by
.
D 2022-04-05T06:31:39.572
J assignee jan.nijtmans
J closedate 2459674.77198579
J closer jan.nijtmans
J comment TclWinConvertError\sand\sTclWinConvertWSAError\sare\s\r\nprivate\sinternal\sfunctions.\s\sThey\scould\sbe\svery\suseful\sto\s\r\nextension\sauthors.\s\sI\ssee\sa\sneed\sfor\sit.\s\sLet's\smake\sthem\s\r\npublic.\r\n\r\nAlso,\sTclWinConvertWSAError\sdoesn't\smap\sto\sall\sWSAE*\s\r\nerror\scodes.\s\sIncluded\sare\smappings\sto\sall\sof\sthem.\s\s\r\nUnfortunetly,\sall\sthe\sadded\scan\sonly\sreturn\sEINVAL\suntil\s\r\nthe\sposix\scodes\sthey\stranslate\sinto\sget\smore\smeaningful\s\r\nto\swindows.\s\sEffectively,\sthe\sbehavior\sis\sstill\sunchanged.\r\n\r\nExample:\r\n\r\nWSA_QOS_POLICY_FAILURE,\s\s'rejected\sfor\sadministrative\s\r\nreasons\s-\sbad\scredentials'\r\nWSAEPROVIDERFAILEDINIT,\s'The\srequested\sservice\s\r\nprovider\scould\snot\sbe\sloaded\sor\sinitialized'\r\n\r\nWhat\sposix\scodes\sdo\sthose\sget?\s\sSome\sdetective\swork\s\r\nneeds\sto\sbe\sdone\swith\sthese.\s\sI\sreally\sdon't\shave\sa\sclue.\r\n\r\nThe\smain\sreason\sI\swant\sto\senlargen\sthe\smappings\sis\sto\s\r\ninclude\sWSAHOST_NOT_FOUND.\s\sI\shate\sthat\sthe\s\r\n[socket]\scommand\scan\sonly\sreturn\s'invalid\sargument'\s\r\ninstead\sof\s'authoritative\shost\snot\sfound'\sor\s'try\sagain',\s\r\nor\s....\r\n\r\nShould\sthis\sreally\sbe\sa\sTIP?
J icomment Done:\s[https://core.tcl-lang.org/tips/doc/trunk/tip/598.md]
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J severity Minor
J status Closed
K 800716ffffffffffffffffffffffffffffffffff
U jan.nijtmans
Z 262dd4f3b9741b88035918332eb5305d