Bug 212385
Summary: | path_resolution(7): "a pathname with a trailing '/' is equivalent to the pathname obtained by appending '.' to it" - this is wrong | ||
---|---|---|---|
Product: | Documentation | Reporter: | Askar Safin (safinaskar) |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | mtk.manpages |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Askar Safin
2021-03-22 11:27:04 UTC
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. |