summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/rename.2
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2006-01-22 19:49:37 +0000
committertruckman <truckman@FreeBSD.org>2006-01-22 19:49:37 +0000
commitbfe1f15bac88af5227cf0b1ced01850deace5579 (patch)
treecdc3bdfe6333b0f627ebf3c2d871ccaf10e3946e /lib/libc/sys/rename.2
parent7ef6769a305dc959cce68afe547680fe8e76d4c9 (diff)
downloadFreeBSD-src-bfe1f15bac88af5227cf0b1ced01850deace5579.zip
FreeBSD-src-bfe1f15bac88af5227cf0b1ced01850deace5579.tar.gz
Back out the previous change to rename.2. The previous rename()
behaviour of returning EINVAL when ".." is passed as either argument has been restored. rmdir("..") now returns EINVAL instead of EPERM. Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete("..") now returns EINVAL instead of EPERM. Bump the man page change date. MFC after: 3 days
Diffstat (limited to 'lib/libc/sys/rename.2')
-rw-r--r--lib/libc/sys/rename.23
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 6df3046..0080f40 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -145,9 +145,6 @@ is marked sticky,
and neither the containing directory nor
.Fa to
are owned by the effective user ID.
-.It Bq Er EPERM
-After expanding any symbolic links, the last component of either path is
-.Ql .. .
.It Bq Er ELOOP
Too many symbolic links were encountered in translating either pathname.
.It Bq Er ENOTDIR
OpenPOWER on IntegriCloud