mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
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
This commit is contained in:
parent
f5a37f8dd3
commit
33f58ac079
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue