Date: Sun, 30 Jul 1995 17:35:59 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys namei.h Message-ID: <199507310035.RAA29621@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
bde 95/07/30 17:35:58
Modified: sys/kern vfs_lookup.c vfs_syscalls.c
sys/sys namei.h
Log:
Ignore trailing slashes in pathnames that "refer to a directory",
as is required to be POSIXLY_CORRECT and "right". I interpret
"referring to a directory" as being a directory or becoming a
directory. E.g., the trailing slashes in mkdir("/nonesuch/"),
rename("/tmp", /nonesuch/") and link("/tmp", "/root_can_like_dirs/")
are ignored because the target will become a directory if the
syscall succeeds. A trailing slash on a symlink causes the symlink
to be followed (this is a bug if the symlink doesn't point to a
directory; fix later).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507310035.RAA29621>
