* vfslib.tcl, zipvfs.tcl: Added contributed patches to fix bugs
3160686
&
3224057.
+2011-03-30 Steve Huntley <stephen.huntley@alum.mit.edu>
+
+ * vfslib.tcl, zipvfs.tcl: Added contributed patches to fix bugs 3160686
+ & 3224057.
+
2011-03-30 Steve Huntley <stephen.huntley@alum.mit.edu>
* globfind.tcl: Updated to latest file version (1.5.3).
set ::vfs::_memchan_nam($fd) $filename
return $fd
}
+}
+if {[info command rechan] ne "" || ![catch {load "" rechan}]} {
proc vfs::zstream_handler {zcmd ifd clen ilen imode cmd fd {a1 ""} {a2 ""}} {
#puts stderr "z $zcmd $ifd $ilen $cmd $fd $a1 $a2"
upvar ::vfs::_zstream_pos($fd) pos
flen elen clen sb(disk) sb(attr) \
sb(atx) sb(ino)
- set sb(ino) [expr {$cb(base) + $sb(ino)}]
-
if { ![string equal "PK\01\02" $hdr] } {
binary scan $hdr H* x
return -code error "bad central header: $x"