git: 97ccb41979bf - stable/14 - rename(2): Extend EINVAL's description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Sep 2024 00:55:07 UTC
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