<i>gets blocks on encoding error in non blocking mode</i> status still Open with 5 other changes
by
.
D 2023-11-13T16:20:20.097
J icomment It\sis\salso\seffective\sfor\sthe\s2nd\serror\ssequence.\r\nThe\s2nd\serror\ssequence\sis\san\sincomplete\sUTF-8\ssequence.\r\nThen,\sthe\send\sof\sfile\swill\strigger\sthe\serror,\swhich\sis\sreached\sby\sa\ssecond\s"gets"\scommand.\r\n\r\nThe\stest\sis\sadopted\sto\sthis\sdouble\s"gets".\r\n\r\nAn\sadditional\stest\sto\scheck\sthe\srecovery\scapabilities\sis\sadded.\r\nThere,\sthe\sencoding\sis\schanged\sto\sbinary\sand\sthe\sgets\ssucceeds.\r\n\r\nThe\sbranch\sis\smerged\sto\score-8-branch\sby\scommit\s[94257f6465].\r\n\r\nNow,\stwo\snew\stests\sfail,\swhich\slooks\sunrelated:\r\n\r\n<verbatim>\r\n====\szlib-8.21\szlib\stransformation,\sbug\sf9eafc3886\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\sf\s[zlib\spush\sgzip\s[open\s$file\sw]\s-header\s[list\scomment\s\\u100]]\r\n\r\n----\sTest\scompleted\snormally;\sReturn\scode\swas:\s0\r\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s1\r\n====\szlib-8.21\sFAILED\r\n\r\n----\szlib-8.22\sstart\r\n\r\n\r\n====\szlib-8.22\szlib\stransformation,\sbug\sf9eafc3886\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\sf\s[zlib\spush\sgzip\s[open\s$file\sw]\s-header\s[list\sfilename\s\\u100]]\r\n\r\n----\sTest\scompleted\snormally;\sReturn\scode\swas:\s0\r\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s1\r\n====\szlib-8.22\sFAILED\r\n</verbatim>\r\n\r\nI\smay\sdo\sanother\sdebugger\ssession\sto\sfind\sout\swhy.\r\n\r\nBut\sthe\sendless\sloop\sis\scured,\swhich\sis\smore\simportant\sthan\sa\sfailing\stest.
J login oehhar
J mimetype text/x-fossil-wiki
J resolution Fixed
J username oehhar
K c4eb46a196227040bfb18770ac261d6836e58f0e
U oehhar
Z 7e672463a83c229740b45604d8a9d312