<i>untar: expected integer but got a list</i> status still Open with 3 other changes
by
aku
2025-01-14 22:07:34.
D 2025-01-14T22:07:34.541
J icomment My\sthought\sthat\sthis\swas\san\sencoding\sissue\swas\swrong.\r\nThe\s`iso8859-1`\sencoding\sused\sby\sTcl\s9\sis\scorrect.\r\n\r\nThe\sissue\sis\sindeed\sone\sof\soctal\sconversion,\sand\sAshok's\schange\sis\sa\sfix.\r\n\r\nBasically,\susing\spre-patch\s`set\sx\s[format\s%d\s0[string\strim\s[set\s$x]\s"\s\\x00"]]`\r\nmis-converts\sthe\ssize\sinformation\sfound\sin\sthe\sfirst\sheader.\r\n\r\nWith\sthe\ssize\swrong\sthe\scode\slooks\sat\sthe\swrong\splace\sin\sthe\sfile\sfor\sthe\snext\sheader,\sreads\sbogus\sdata,\sand\sthen\schokes\son\sthat.\r\n\r\nWith\sthe\spatch\sapplied\s(`set\sx\s[format\s%d\s0o0[string\strim\s[set\s$x]\s"\s\\x00"]]`)\sthe\sconversion\sto\sdecimal\sis\sdone\scorrectly,\sand\sthe\snext\sheader\sis\sread\sand\sprocessed\sok,\sand\sso\son,\sto\sthe\send\sof\sthe\star\sfile.\r\n\r\nUsing\sthe\s`cantrbry.tar`\sfile\sthe\scode\sreads\r\n```\r\n\t|size|\t|00000451031|\r\n```\r\nand\smis-converts\sto\s\r\n```\r\n\t|size|\t|451031|DECIMAL\r\n```\r\nNo\sconversion\swas\sdone\sat\sall.\sWith\sthe\spath\son\sthe\sother\shand\swe\sget\r\n```\r\n\t|size|\t|152089|DECIMAL\r\n```\r\nwhich\sis\scorrect.\r\n\r\nAnd\swith\sthat\sI\shave\r\nconfirmed\sthe\sissue,\r\nunderstood\sthe\sissue,\r\nconfirmed\sand\sunderstood\sthe\sfix,\sand\r\ncan\snow\sextend\sthe\stestsuite.
J login aku
J mimetype text/x-markdown
K b01462dff791ba84ecf444d01281412d781bdfbb
U aku
Z 32a175d6ce7ee08a7d65bb3bde7e2046