+2003-07-15 Vince Darley <vincentdarley@sourceforge.net>
+
+ * tests/vfsZip.test:
+ * tests/vfsTar.test: added some new tests for recently fixed
+ bugs.
+ * library/tarvfs.tcl: fix to bug when closing an empty archive.
+
+ Also updated package to version 1.2.1 since a variety of bugs
+ have been fixed since the 1.2 release
+
2003-07-06 Vince Darley <vincentdarley@sourceforge.net>
* library/ftpvfs.tcl: fix to 'file stat' on a directory, which
Identifier: vfs
-Version: 1.2
+Version: 1.2.1
Title: Interface to Virtual File Systems for Tcl 8.4
Creator: Vince Darley
Description: The goal of this extension is to expose Tcl 8.4's new
'\"
'\"
.so man.macros
-.TH vfs n 1.2 Vfs "Tcl-only Virtual File Systems"
+.TH vfs n 1.2.1 Vfs "Tcl-only Virtual File Systems"
.BS
'\" Note: do not modify the .sh NAME line immediately below!
.SH NAME
.sp
\fBpackage require Tcl 8.4\fR
.sp
-\fBpackage require vfs ?1.2?\fR
+\fBpackage require vfs ?1.2.1?\fR
.sp
\fBvfs::filesystem\fR \fIinfo\fR
.sp
.sp
\fBpackage require Tcl 8.4\fR
.sp
-\fBpackage require vfs ?1.2?\fR
+\fBpackage require vfs ?1.2.1?\fR
.sp
\fBpackage require vfs::zip ?1.0?\fR
.sp
if (Tcl_IsSafe(interp)) {
return TCL_ERROR;
}
- if (Tcl_PkgProvide(interp, "vfs", "1.2") == TCL_ERROR) {
+ if (Tcl_PkgProvide(interp, "vfs", "1.2.1") == TCL_ERROR) {
return TCL_ERROR;
}
load $dll
}
-package ifneeded vfs 1.2 [list loadvfs $dll]
+package ifneeded vfs 1.2.1 [list loadvfs $dll]
package ifneeded starkit 1.2 [list source [file join $dir starkit.tcl]]
package ifneeded vfslib 1.3.1 [list source [file join $dir vfslib.tcl]]
load $dll
}
-package ifneeded vfs 1.0 [list loadvfs $vfs::dll]
+package ifneeded vfs 1.2.1 [list loadvfs $vfs::dll]
package ifneeded starkit 1.2 [list source [file join $dir starkit.tcl]]
package ifneeded vfslib 1.3.1 [list source [file join $dir vfslib.tcl]]
proc tar::_close {fd} {
variable $fd.toc
- unset $fd.toc
+ unset -nocomplain $fd.toc
::close $fd
}
parray files
-makepackage vfs1.0
+makepackage vfs1.2.1
package require vfs::zip
+test vfsZip-1.1 {mount with error} {
+ set f [file join [temporaryDirectory] vfszip.zip]
+ close [open $f w]
+ set res [catch {vfs::zip::Mount $f localmount} err]
+ #lappend res $err
+ lappend res [catch {file delete $f}]
+ set res
+} {1 0}
#
MACHINE = IX86
-VFS_VERSION = 1.2
+VFS_VERSION = 1.2.1
DLL_VERSION = 12
# comment the following line to compile with symbols