From f968e0819ddc3b26537d046304472877ff4849c1 Mon Sep 17 00:00:00 2001 From: Jose Luis Duran Date: Tue, 27 Aug 2024 03:48:09 +0000 Subject: [PATCH] open(2): mandoc -T lint (cherry picked from commit f5a37f8dd319e3007b126b77376e61ad96f44d8b) --- lib/libc/sys/open.2 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index aac3ef1318f..220561cc568 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -252,7 +252,7 @@ controlling terminal when it opens a tty device. This is the default on .Fx , but is present for -.Tn POSIX +POSIX compatibility. The .Fn open @@ -265,7 +265,7 @@ initially opening a TTY. This is the default on .Fx , but is present for -.Tn POSIX +POSIX compatibility. The initial call to .Fn open @@ -487,7 +487,7 @@ The system file table is full. .It Bq Er EMLINK .Dv O_NOFOLLOW was specified and the target is a symbolic link. -.Tn POSIX +POSIX specifies a different error for this case; see the note in .Sx STANDARDS below. @@ -661,7 +661,7 @@ to .Er EMLINK instead of .Er ELOOP as specified by -.Tn POSIX +POSIX when .Dv O_NOFOLLOW is set in flags and the final component of pathname is a symbolic link @@ -679,7 +679,10 @@ permits searches. The present implementation of the .Fa openat system call is believed to be compatible with -.St -p1003.1-2017 , +.\" .St -p1003.1-2017 , +.\" XXX: This should be replaced in the future when an appropriate argument to +.\" the St macro is available: -p1003.1-2017 +.No IEEE Std 1003.1-2008, 2017 Edition (\\(LqPOSIX.1\\(Rq) , which specifies that behavior for .Dv O_SEARCH , in the absence of the flag the implementation checks the current