[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[address@hidden: Re: strftime() _GNU_SOURCE extension request]
From: |
Vito Caputo |
Subject: |
[address@hidden: Re: strftime() _GNU_SOURCE extension request] |
Date: |
Thu, 7 Oct 2021 23:36:14 -0700 |
Hello bug-gnulib, I'm not subscribed so please CC me directly in any
replies if necessary.
Please consider the below forwarded message, thanks.
----- Forwarded message from Adhemerval Zanella <adhemerval.zanella@linaro.org>
-----
Date: Thu, 7 Oct 2021 16:31:31 -0300
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Vito Caputo <vcaputo@pengaru.com>, libc-help@sourceware.org
Subject: Re: strftime() _GNU_SOURCE extension request
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
On 25/09/2021 03:15, Vito Caputo wrote:
> Hello list,
>
> I'd like to propose a _GNU_SOURCE extension for strftime() treating
> str=NULL similarly to snprintf()'s C99 handling of str=NULL; write
> nothing to str, but return the number of bytes that /would/ be written
> if str were non-NULL and sufficiently large.
It sounds reasonable, I would suggestion you to check if gnulib is
willing to push for such change all well, since the code came from
them originally.
----- End forwarded message -----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [address@hidden: Re: strftime() _GNU_SOURCE extension request],
Vito Caputo <=