git: 33f58ac0795b - main - rename(2): Extend EINVAL's description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Aug 2024 22:09:54 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1 commit 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1 Author: Jose Luis Duran <jlduran@gmail.com> AuthorDate: 2024-08-26 01:32:14 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-08-27 22:09:33 +0000 rename(2): Extend EINVAL's description On some file systems, the last component of the destination path can contain invalid characters and return EINVAL. PR: 281033 Differential revision: https://reviews.freebsd.org/D46450 MFC after: 1 week --- lib/libsys/rename.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2 index f792c8a3dc7b..4faba81ff509 100644 --- a/lib/libsys/rename.2 +++ b/lib/libsys/rename.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 30, 2020 +.Dd August 25, 2024 .Dt RENAME 2 .Os .Sh NAME @@ -255,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