path_resolution(7): "a pathname with a trailing '/' is equivalent to the pathname obtained by appending '.' to it" - this is wrong
A message that is not in the archive (sent off-list or not yet received): [email protected]/
https://bugzilla.kernel.org/show_bug.cgi?id=212385
Michael Kerrisk ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Michael Kerrisk ([email protected]) --- Hello Askar. Thanks for the report. Yes, the text is a bit off.
The text in POSIX.1-2018 Section 4.13 ("Pathname Resolution") is helpful in pointing to a better wording.
How about the following as a replacement text:
If a pathname ends in a '/', that forces resolution of the preceding component as in Step 2: the component preceding the slash either exists and resolves to a directory of it names a directory that is to be created immediately after the pathname is resolved. Otherwise, a trailing '/' is ignored.
I'm closing this bug report for now. Please reopen if you think something still needs fixing.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212385
Michael Kerrisk ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIXSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.