.
D 2020-05-11T16:33:18.085
J icomment Sorry,\sthe\spatch\shas\sthe\sissue,\sthat\sthe\stwo\smembers\s"type"\sand\s"size"\sare\smixed\sup.\r\nHere\sis\sa\scorrected\spatch:\r\n\r\n<verbatim>\r\n\r\n---\sC:/oehhar/elmicron/projekte/el1005_scanlink_dll/source/c-vfs/dir2c_ori.tcl\s\s\s\sWed\sJan\s22\s20:53:52\s2020\r\n+++\sC:/oehhar/elmicron/projekte/el1005_scanlink_dll/source/c-vfs/dir2c.tcl\s\s\s\sFri\sApr\s17\s10:20:20\s2020\r\n@@\s-306,20\s+306,20\s@@\r\n\s\r\n\s#\s\sendif\s/*\s!LOADED_CVFS_COMMON\s*/}\r\n\sputs\s""\r\n\s\r\n\sputs\s"static\sstruct\scvfs_data\s${code_tag}_data\\[\\]\s=\s{"\r\n\sputs\s"\\t{"\r\n\sputs\s"\\t\\t/*\sIndex\s0\scannot\sbe\sused\sbecause\swe\suse\sthe\svalue\s0\sto\srepresent\sfailure\s*/"\r\n-puts\s"\\t\\t.name\s\s=\sNULL,"\r\n-puts\s"\\t\\t.index\s=\s0,"\r\n-puts\s"\\t\\t.type\s\s=\s0,"\r\n-puts\s"\\t\\t.size\s\s=\s0,"\r\n-puts\s"\\t\\t.data\s\s=\sNULL,"\r\n-puts\s"\\t\\t.free\s\s=\s0,"\r\n+puts\s"\\t\\t/*\sname\s\s*/\sNULL,"\r\n+puts\s"\\t\\t/*\sindex\s*/\s0,"\r\n+puts\s"\\t\\t/*\ssize\s\s*/\s0,"\r\n+puts\s"\\t\\t/*\stype\s\s*/\s0,"\r\n+puts\s"\\t\\t/*\sdata\s\s*/\sNULL,"\r\n+puts\s"\\t\\t/*\sfree\s\s*/\s0,"\r\n\sputs\s"\\t},"\r\n\sfor\s{set\sidx\s1}\s{$idx\s<\s[llength\s$files]}\s{incr\sidx}\s{\r\n\s\s\s\s\sset\sfile\s[lindex\s$files\s$idx]\r\n\s\s\s\s\sset\sshortfile\s[shorten_file\s$startdir\s$file]\r\n\s\r\n\s\s\s\s\sunset\s-nocomplain\sfinfo\stype\r\n\s\s\s\s\sfile\sstat\s$file\sfinfo\r\n@@\s-345,20\s+345,20\s@@\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sset\stype\s"CVFS_FILETYPE_DIR"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sset\sdata\s"NULL"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sset\ssize\s0\r\n\s\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s}\r\n\s\r\n\s\s\s\s\sputs\s"\\t{"\r\n-\s\s\s\sputs\s"\\t\\t.name\s\s=\s\\"$shortfile\\","\r\n-\s\s\s\sputs\s"\\t\\t.index\s=\s$idx,"\r\n-\s\s\s\sputs\s"\\t\\t.type\s\s=\s$type,"\r\n-\s\s\s\sputs\s"\\t\\t.size\s\s=\s$size,"\r\n-\s\s\s\sputs\s"\\t\\t.data\s\s=\s$data,"\r\n-\s\s\s\sputs\s"\\t\\t.free\s\s=\s0,"\r\n+\s\s\s\sputs\s"\\t\\t/*\sname\s\s*/\s\\"$shortfile\\","\r\n+\s\s\s\sputs\s"\\t\\t/*\sindex\s*/\s$idx,"\r\n+\s\s\s\sputs\s"\\t\\t/*\ssize\s\s*/\s$size,"\r\n+\s\s\s\sputs\s"\\t\\t/*\stype\s\s*/\s$type,"\r\n+\s\s\s\sputs\s"\\t\\t/*\sdata\s\s*/\s$data,"\r\n+\s\s\s\sputs\s"\\t\\t/*\sfree\s\s*/\s0,"\r\n\s\s\s\s\sputs\s"\\t},"\r\n\s}\r\n\sputs\s"};"\r\n\sputs\s""\r\n\s\r\n\sputs\s"static\sunsigned\slong\s${code_tag}_lookup_index(const\schar\s*path)\s{"\r\n\sputs\s"\\tswitch\s(cvfs_hash((unsigned\schar\s*)\spath))\s{"\r\n\r\n</verbatim>
J login anonymous
J mimetype text/x-fossil-wiki
J username oehhar
K 127ac40147407d703ee7ccd70c865c6a87c53c56
U anonymous
Z b8e9b3f5c5e3a933b38112075cd53f2e