D 2010-10-16T21:13:32
J comment Reported\sby\sJDC:\r\n\s\s\s\shttp://groups.google.com/group/starkit/browse_frm/thread/5827418f4a2b80e7\r\n\r\nPNG\sfiles\sread\sfrom\san\smk4vfs\scan\sfail\sto\sbe\sread.\s\sLikely\san\sissue\sin\svfs::zstreamed\sin\stclvfs.\r\n\r\nIt\shappens\son\snon-KitCreator\sTclkits\stoo.\r\n\r\n
rkeene\sadded\son\s2010-10-13\s15:29:31:
\r\n\r\n\s\s- \r\n\s\s\s\sCreate\smk4vfs\r\n\s\s\s\s
\r\n\s\s\s\s\s\s- $\smkdir\sx.vfs
\r\n\s\s\s\s\s\s- $\scp\scross.png\sx.vfs/
\r\n\s\s\s\s\s\s- $\s./tclkit-8.5.9-linux-i686\ssdx.kit\swrap\sx
\r\n\s\s\s\s\s\s- 1\supdates\sapplied
\r\n\s\s\s\s
\r\n\s\s \r\n\s\s- \r\n\s\s\s\sTest\sreading\s"cross.png"\sfrom\sthe\smk4vfs\r\n\s\s\s\s
\r\n\s\s\s\s\s\s- %\svfs::mk4::Mount\sx\sx
\r\n\s\s\s\s\s\s- mk4vfs1
\r\n\s\s\s\s\s\s- %\scd\sx
\r\n\s\s\s\s\s\s- %\sglob\s*
\r\n\s\s\s\s\s\s- cross.png
\r\n\s\s\s\s\s\s- %\sset\sfd\s[open\scross.png]
\r\n\s\s\s\s\s\s- mk7
\r\n\s\s\s\s\s\s- %\sfconfigure\s$fd\s-translation\sbinary
\r\n\s\s\s\s\s\s- %\sset\sdata\s[read\s$fd];\sputs\s[string\slength\s$data]
\r\n\s\s\s\s\s\s- 655
\r\n\s\s\s\s\s\s- %\sbinary\sscan\s$data\sH*\sdata_hex
\r\n\s\s\s\s\s\s- 1
\r\n\s\s\s\s\s\s- %\sputs\s$data_hex
\r\n\s\s\s\s\s\s- 89504e470d0a1a0a0000000d49484452
\r\n\s\s\s\s\s\s- 000000100000001008060000001ff3ff
\r\n\s\s\s\s\s\s- 610000000467414d410000afc837058a
\r\n\s\s\s\s\s\s- e90000001974455874536f6674776172
\r\n\s\s\s\s\s\s- 650041646f626520496d616765526561
\r\n\s\s\s\s\s\s- 647971c9653c000002214944415438cb
\r\n\s\s\s\s\s\s- 9593eb4e135114858989c989cfa05689
\r\n\s\s\s\s\s\s- 86c89180c41b425b0628ad0d0826d0fb
\r\n\s\s\s\s\s\s- 855ea480b4a5eda44da136ea0f4d7c12
\r\n\s\s\s\s\s\s- 9f0b44c5deb0d299763ad3e5ae984a2d
\r\n\s\s\s\s\s\s- 25e1c74ece64cefaf6acb5f70c0018b8
\r\n\s\s\s\s\s\s- 4cd5d742d7ce3e775f10333a2ade57ec
\r\n\s\s\s\s\s\s- 0f72d9ed8dd76c4e432fa02dceeca295
\r\n\s\s\s\s\s\s- ce428b277b20755f80d703613436b6f0
\r\n\s\s\s\s\s\s- ebe5cae7eae2d2bd7f80bf62e4dfa145
\r\n\s\s\s\s\s\s- a525443437b73b10d9bbc6a93b9ad138
\r\n\s\s\s\s\s\s- 90cba37d3e365be3e519d39553402acd
\r\n\s\s\s\s\s\s- 5a09516bedbe013e7e8296cdb5016804
\r\n\s\s\s\s\s\s- 425cf6f8397587b21d03e8bdec0fe078
\r\n\s\s\s\s\s\s- feb95a16e6ae7659d06209a6be8ea99a
\r\n\s\s\s\s\s\s- 9801de7f809a4aa31e0c83ba43d98a02
\r\n\s\s\s\s\s\s- d9bd3fe78ac942e259766e88cdc8266b
\r\n\s\s\s\s\s\s- 84d6d5667487ecbc05f6f224cc01992c
\r\n\s\s\s\s\s\s- 648f0f9539b35a9e9e61fda7701a1693
\r\n\s\s\s\s\s\s- 5c5e0d59b2e3f6010e3720a651999dd7
\r\n\s\s\s\s\s\s- 4a4681fd7fbf0720393ded5101340dd8
\r\n\s\s\s\s\s\s- 9cc08a1dd849926f0b0a1353fc4280e4
\r\n\s\s\s\s\s\s- 7073c9e581128e004991842920467628
\r\n\s\s\s\s\s\s- 4079d58eb2de88ef63e3fc5c40cdeee2
\r\n\s\s\s\s\s\s- 92d30d25b40ed01825870b14965a9c32
\r\n\s\s\s\s\s\s- 68278bcb406403b517cb283c7c8cc3a1
\r\n\s\s\s\s\s\s- 61de05a0cde2d41d4af015754d40a24f
\r\n\s\s\s\s\s\s- a7b0d4e2a481159e4cb0a3f1476ad564
\r\n\s\s\s\s\s\s- 0682219c58ac381a19c5c1ad41de01d0
\r\n\s\s\s\s\s\s- 6609359b034a200469d5010a4b2d3ed3
\r\n\s\s\s\s\s\s- 7702fb3632c6be0edf577f1a0548d605
\r\n\s\s\s\s\s\s- fc187d80fd1b3aa1cb026d96505d5842
\r\n\s\s\s\s\s\s- c930ad51583d691fde1d625f06efa867
\r\n\s\s\s\s\s\s- c53d2196f446a1f07492f5fb990e74b7
\r\n\s\s\s\s\s\s- d9fef59bc28563bc6cfd0672bba4c7db
\r\n\s\s\s\s\s\s- edbe140000000049454e44ae426082
\r\n\s\s\s\s
\r\n\s\s \r\n
\r\n\r\n\r\n
rkeene\sadded\son\s2010-10-13\s15:42:47:
\r\nIt\sworks\sin\sthe\strivial\scase\sposted\spreviously,\sbut\sfails\swith\sthe\sfollowing\skit:\r\nhttp://code.google.com/p/wubwikit/downloads/detail?name=wub-20100922.kit\r\n\r\nIn\sthe\skit:\r\n\r\n%\sset\sfd\s[open\scross.png]\r\nmk7\r\n%\sfconfigure\s$fd\s-encoding\sbinary\r\n%\sset\sdata\s[read\s$fd];\sputs\s[string\slength\s$data]\r\n654\r\n%\sfile\sstat\scross.png\sx\r\n%\sparray\sx\r\nx(atime)\s\s\s=\s1285147347\r\nx(blksize)\s=\s135312827\r\nx(blocks)\s\s=\s583863729869319636\r\nx(ctime)\s\s\s=\s1285147347\r\nx(dev)\s\s\s\s\s=\s-143965300\r\nx(gid)\s\s\s\s\s=\s0\r\nx(ino)\s\s\s\s\s=\s0\r\nx(mode)\s\s\s\s=\s33279\r\nx(mtime)\s\s\s=\s1285147347\r\nx(nlink)\s\s\s=\s1\r\nx(size)\s\s\s\s=\s655\r\nx(type)\s\s\s\s=\sfile\r\nx(uid)\s\s\s\s\s=\s0\r\n\r\n\r\n
rkeene\sadded\son\s2010-10-13\s15:45:53:
\r\nStill\snot\ssure\swhere\sthis\sis\sfailing.\r\n\r\n\r\n%\smk::loop\sx\sdb.dirs!90.files\s{\sputs\s"$x,\s[mk::get\s$x\sname]"\s}\r\ndb.dirs!90.files!0,\scross.png\r\ndb.dirs!90.files!1,\stick.png\r\ndb.dirs!90.files!2,\stclp.gif\r\n%\smk::view\sinfo\sdb.dirs!90.files\s\s\r\nname\ssize:I\sdate:I\scontents:B\r\n%\smk::get\sdb.dirs!90.files!0\ssize\r\n655\r\n%\sstring\slength\s[mk::get\sdb.dirs!90.files!0\scontents]\r\n655\r\n%\smk::get\sdb.dirs!90.files!0\s-size\scontents\r\n655\r\n%\r\n\r\n\r\n
rkeene\sadded\son\s2010-10-13\s15:52:42:
\r\nOh,\swait\sI\sdid\s"-encoding\sbinary"\sin\smy\ssecond\stest\swhere\sit\sshould\shave\sbeen\s"-translation\sbinary".\r\n\r\nUsing\s"-translation\sbinary"\scauses\sit\sto\sbe\sread\scorrectly.\r\n\r\n\r\n%\sset\sfd\s[open\scross.png\sr]\r\nmk7\r\n%\sfconfigure\s$fd\s-translation\sbinary\s\s\s\s\s\s\s\s\s\r\n%\sset\sdata\s[read\s$fd];\sputs\s[string\slength\s$data]\r\n655\r\n%\sbinary\sscan\s$data\sH*\sdata_hex\r\n1\r\n\r\n\r\n
rkeene\sadded\son\s2010-10-16\s21:12:41:
\r\nThe\sissue\sonly\soccurs\swhen\susing\s[fcopy]\sand\smk4vfs\schannels\swithout\sdirect\smode.\r\n\r\nSimple\stest:\r\n\r\nvfs::mk4::Mount\stest.mk\s/TEST\r\nset\sfd\s[open\s/TEST/cross.png]\r\nfconfigure\s$fd\s-translation\sbinary\r\nset\sout\s[open\s/dev/null\sw]\r\nset\s::fcopy_complete\s0\r\nproc\sfcopy_complete\s{args}\s{\sset\s::fcopy_complete\s1\s}\r\nfcopy\s$fd\s$out\s-command\sfcopy_complete\r\nafter\s3000\r\nupdate\r\nputs\s"FCOPY:\s$fcopy_complete"\r\n
K 0990f53b1a77cacafccaf440d277edeae0cab70a
U rkeene
Z 790c3ab7a628eee3df138a0e3b9d9d51