diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-26 19:38:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-26 19:38:08 (GMT) |
commit | 59f808eb7a065aaf628c751e8eb2c7e20505989b (patch) | |
tree | 4f710e190e73bc94273eec4e98e147003d0704c1 /doc/zipfs.3 | |
parent | f0f3d8a55b9ad46a51d1ffc55732a6bea3f17784 (diff) | |
download | tcl-59f808eb7a065aaf628c751e8eb2c7e20505989b.zip tcl-59f808eb7a065aaf628c751e8eb2c7e20505989b.tar.gz tcl-59f808eb7a065aaf628c751e8eb2c7e20505989b.tar.bz2 |
Improvements for zipfs. Document that TclZipfs_AppHook only works on Windows in UNICODE mode. Also, remove this from the stub table because it should never be called this way.
Prevent a possible crash on win32 startup.
Diffstat (limited to 'doc/zipfs.3')
-rw-r--r-- | doc/zipfs.3 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/zipfs.3 b/doc/zipfs.3 index 7514525..ce5d5eb 100644 --- a/doc/zipfs.3 +++ b/doc/zipfs.3 @@ -47,6 +47,10 @@ If a file named \fBmain.tcl\fR is located in that file system, it is treated as the startup script for the process. If the file \fIZIPROOT\fR\fB/app/tcl_library/init.tcl\fR is present, \fBtcl_library\fR is set to \fIZIPROOT\fR\fB/app/tcl_library. .PP +On Windows, \fBTclZipfs_AppHook()\fR has a slightly different signature, it uses +WCHAR in stead of char. As a result, it only works if your application is compiled +using -DUNICODE. +.PP If the \fBtcl_library\fR was not found in the application, the system will then search for it as either a VFS attached to the application dynamic library, or as a zip archive named libtcl_\fIMAJOR\fR_\fIMINOR\fR_\fIpatchLevel\fR.zip either in the present working directory |