2020-07-29 02:12:19

by Luc Van Oostenryck

[permalink] [raw]
Subject: [PATCH] doc: remove stray HTML entity in '<slash>'

An excerpt from POSIX contains three occurrences of '<slash>' but
the first two are spelled starting with an HTML entity: '&lt;slash>'

Fix this by replacing the stray HTML entity by a '<'.

Signed-off-by: Luc Van Oostenryck <[email protected]>
---
Documentation/filesystems/path-lookup.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/path-lookup.rst b/Documentation/filesystems/path-lookup.rst
index e2ba15146365..d46688d6770d 100644
--- a/Documentation/filesystems/path-lookup.rst
+++ b/Documentation/filesystems/path-lookup.rst
@@ -78,8 +78,8 @@ particular, ``mkdir()`` and ``rmdir()`` each create or remove a directory named
by the final component, and they are required to work with pathnames
ending in "``/``". According to POSIX_

- A pathname that contains at least one non- &lt;slash> character and
- that ends with one or more trailing &lt;slash> characters shall not
+ A pathname that contains at least one non-<slash> character and
+ that ends with one or more trailing <slash> characters shall not
be resolved successfully unless the last pathname component before
the trailing <slash> characters names an existing directory or a
directory entry that is to be created for a directory immediately
--
2.27.0


2020-07-29 02:17:57

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] doc: remove stray HTML entity in '<slash>'

On 7/28/20 7:11 PM, Luc Van Oostenryck wrote:
> An excerpt from POSIX contains three occurrences of '<slash>' but
> the first two are spelled starting with an HTML entity: '&lt;slash>'
>
> Fix this by replacing the stray HTML entity by a '<'.
>
> Signed-off-by: Luc Van Oostenryck <[email protected]>

Hi Luc,
One day late.
Fixed and merged yesterday.

https://lore.kernel.org/linux-doc/[email protected]/


> ---
> Documentation/filesystems/path-lookup.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/filesystems/path-lookup.rst b/Documentation/filesystems/path-lookup.rst
> index e2ba15146365..d46688d6770d 100644
> --- a/Documentation/filesystems/path-lookup.rst
> +++ b/Documentation/filesystems/path-lookup.rst
> @@ -78,8 +78,8 @@ particular, ``mkdir()`` and ``rmdir()`` each create or remove a directory named
> by the final component, and they are required to work with pathnames
> ending in "``/``". According to POSIX_
>
> - A pathname that contains at least one non- &lt;slash> character and
> - that ends with one or more trailing &lt;slash> characters shall not
> + A pathname that contains at least one non-<slash> character and
> + that ends with one or more trailing <slash> characters shall not
> be resolved successfully unless the last pathname component before
> the trailing <slash> characters names an existing directory or a
> directory entry that is to be created for a directory immediately
>

cheers.
--
~Randy