From: Vince Darley Date: Thu, 15 Jul 2004 11:25:42 +0000 (+0000) Subject: fix to removeDirectory docs X-Git-Tag: vfs-1-4~86 X-Git-Url: http://privyetmir.co.uk/gitweb?a=commitdiff_plain;h=20da00cedf3c79d0aa203c4313ad6957e7621540;p=tclvfs fix to removeDirectory docs --- diff --git a/ChangeLog b/ChangeLog index 97c2553..d307fab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-15 Vince Darley + + * doc/*: fix to removedirectory docs which should say to return + a posix EEXIST error if the directory is non-empty. + 2004-07-04 Andreas Kupries * library/vfsUtils.tcl (crc, zip): Modified the Trf adapter diff --git a/doc/vfs-fsapi.man b/doc/vfs-fsapi.man index a7b77ec..a2b2f2c 100644 --- a/doc/vfs-fsapi.man +++ b/doc/vfs-fsapi.man @@ -245,7 +245,7 @@ Delete the given directory. Argument [arg recursive] is a boolean. If the specified value is [const true] then even if the directory is non-empty, an attempt has to be made to recursively delete it and its contents. If the spcified value is [const false] and the directory is -non-empty, a posix error ([const ENOTEMPTY]) has to be thrown. +non-empty, a posix error ([const EEXIST]) has to be thrown. [call [cmd vfshandler] [method stat] [arg root] [arg relative] [arg actualpath]] diff --git a/doc/vfs.n b/doc/vfs.n index 651aa9b..d4dadab 100644 --- a/doc/vfs.n +++ b/doc/vfs.n @@ -218,7 +218,7 @@ further action. Delete the given directory. \fIrecursive\fR is either 0 or 1. If it is 1 then even if the directory is non-empty, an attempt should be made to recursively delete it and its contents. If it is 0 and -the directory is non-empty, a posix error (ENOTEMPTY) should be +the directory is non-empty, a posix error (EEXIST) should be thrown. .TP \fIcommand\fR \fIstat\fR \fIr-r-a\fR