Page MenuHomeFreeBSD

D46450.id142504.diff
No OneTemporary

D46450.id142504.diff

diff --git a/lib/libsys/open.2 b/lib/libsys/open.2
--- a/lib/libsys/open.2
+++ b/lib/libsys/open.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 29, 2024
+.Dd August 25, 2024
.Dt OPEN 2
.Os
.Sh NAME
@@ -579,7 +579,13 @@
and
.Dv O_EXEC
or
-.Dv O_SEARCH .
+.Dv O_SEARCH ;
+or
+.Dv O_CREAT
+is specified,
+and a component of the
+.Fa path
+argument is invalid on the file system on which the file is being created.
.It Bq Er EBADF
The
.Fa path
diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2
--- 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
@@ -254,7 +254,10 @@
or an attempt is made to rename
.Ql .\&
or
-.Ql \&.. .
+.Ql \&.. ,
+or a component of the
+.Fa to
+path is invalid on the target file system.
.It Bq Er ENOTEMPTY
The
.Fa to

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 4:48 PM (1 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31042528
Default Alt Text
D46450.id142504.diff (1 KB)

Event Timeline