Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2024 00:55:07 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 97ccb41979bf - stable/14 - rename(2): Extend EINVAL's description
Message-ID:  <202409010055.4810t7n4059371@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=97ccb41979bfee6d5bf35886b310e6c9bc7e8eed

commit 97ccb41979bfee6d5bf35886b310e6c9bc7e8eed
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2024-08-26 01:32:14 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-01 00:53:36 +0000

    rename(2): Extend EINVAL's description
    
    PR:     281033
    
    (cherry picked from commit 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1)
---
 lib/libc/sys/rename.2 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 2b68274e4a8e..4faba81ff509 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -25,9 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"     @(#)rename.2	8.1 (Berkeley) 6/4/93
-.\"
-.Dd March 30, 2020
+.Dd August 25, 2024
 .Dt RENAME 2
 .Os
 .Sh NAME
@@ -257,6 +255,10 @@ or an attempt is made to rename
 .Ql .\&
 or
 .Ql \&.. .
+.It Bq Er EINVAL
+The last component of the
+.Fa to
+path is invalid on the target file system.
 .It Bq Er ENOTEMPTY
 The
 .Fa to



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409010055.4810t7n4059371>