Re: [PATCH 1/2] strdup.3: drop mention of "the GNU GCC suite"

Michael Kerrisk (man-pages)
2021-08-24T09:21:29Z

Hello Ahelenia,

On Mon, 23 Aug 2021 at 23:01, наб <nabijaczleweli@nabijaczleweli.xyz> wrote:
>
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>

This patch could do with a short commit message I think. See below.

> ---
> man3/strdup.3 | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/man3/strdup.3 b/man3/strdup.3
> index 1e1ac34de..963de7d48 100644
> --- a/man3/strdup.3
> +++ b/man3/strdup.3
> @@ -99,9 +99,6 @@ and
> are similar, but use
> .BR alloca (3)
> to allocate the buffer.
> -They are available only when using the GNU
> -GCC suite, and suffer from the same limitations described in
> -.BR alloca (3).

Dropping mention of GCC seems reasonable, but why drop the piece about
"same limitations..."?

Thanks,

Michael

> .SH RETURN VALUE
> On success, the
> .BR strdup ()
> --
> 2.20.1
>

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/