[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XMALLOC() et al (was: [PATCH v1] xstrtol: 1 is not a valid base)
From: |
Alejandro Colomar |
Subject: |
XMALLOC() et al (was: [PATCH v1] xstrtol: 1 is not a valid base) |
Date: |
Sat, 20 Jul 2024 02:13:33 +0200 |
[Reduced CC; since I'm changing topic]
Hi Bruno,
On Fri, Jul 19, 2024 at 06:47:13PM GMT, Bruno Haible wrote:
> Alejandro Colomar wrote:
> > BTW, does gnulib have documentation for xstrtol()? I couldn't find it.
> > And for MALLOC()? I'm interested in reading both.
>
> Paul added the documentation for xstrtol().
Thanks.
> There is no macro or symbol named MALLOC in gnulib; I don't know what you
> are referring to.
D'oh, I was referring to XMALLOC (et al.). I've found the
documentation for ALLOC (et al.) and have now seen that XMALLOC() is
lightly described in the source code, but not in the manual.
<https://www.gnu.org/software/gnulib/manual/gnulib.html#Safe-Allocation-Macros>
Are XMALLOC et al. part of the public API, or are they only internal
helper macros? Are there current users of it (apart from gnulib
itself)? I'm interested in discussing some details about that set of
macros if they're not set in stone.
>
> Bruno
Have a lovely night!
Alex
--
<https://www.alejandro-colomar.es/>
signature.asc
Description: PGP signature
- [PATCH v1] xstrtol: 1 is not a valid base, Alejandro Colomar, 2024/07/18
- Re: [PATCH v1] xstrtol: 1 is not a valid base, Bruno Haible, 2024/07/18
- Re: [PATCH v1] xstrtol: 1 is not a valid base, Alejandro Colomar, 2024/07/18
- Re: [PATCH v1] xstrtol: 1 is not a valid base, Bruno Haible, 2024/07/19
- XMALLOC() et al (was: [PATCH v1] xstrtol: 1 is not a valid base),
Alejandro Colomar <=
- Re: XMALLOC() et al, Paul Eggert, 2024/07/19
- Re: XMALLOC() et al, Bruno Haible, 2024/07/19
- Re: XMALLOC() et al, Paul Eggert, 2024/07/20
- Re: XMALLOC() et al, Bruno Haible, 2024/07/20
- Re: XMALLOC() et al, Paul Eggert, 2024/07/20