From: Vince Darley Date: Wed, 19 Feb 2003 10:26:24 +0000 (+0000) Subject: posix error handling X-Git-Tag: vfs-1-3~47 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=5b9de37adf3af55690c76d40ee62282525b7e5f1;p=tclvfs posix error handling --- diff --git a/ChangeLog b/ChangeLog index 7f0849e..7792863 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-02-18 Vince Darley + + * generic/vfs.c: + * library/*.tcl: clean up of posix error handling. + + * doc/vfs.n: added some more documentation. + 2003-02-18 Vince Darley * generic/vfs.c: added 'vfs::filesystem posixerror' command diff --git a/doc/vfs.n b/doc/vfs.n index 7821505..94bbcf4 100644 --- a/doc/vfs.n +++ b/doc/vfs.n @@ -1,5 +1,5 @@ '\" -'\" Copyright (c) 2001, Vince Darley +'\" Copyright (c) 2001-2003, Vince Darley '\" '\" .so man.macros @@ -67,6 +67,11 @@ remain until Tcl exits). The second effect is to provide the command \fBvfs::filesystem\fR which allows the interpreter to intercept filesystem commands and handle them with Tcl code in that interpreter. +.PP +There are two unsupported subcommands of \fBvfs::filesystem\fR, +\fBfullynormalize path\fR and \fBposixerror int\fR, which are used to +normalize a path (including any final symlink) and to register a posix +error code with a Tcl error, respectively. .TP \fBvfs::filesystem\fR \fImount\fR \fI?-volume?\fR \fIpath\fR \fIcommand\fR To use a virtual filesystem, it must be 'mounted'. Mounting involves