From: Vito Caputo <vcaputo@pengaru.com>
To: bug-gnulib@gnu.org
Subject: [adhemerval.zanella@linaro.org: Re: strftime() _GNU_SOURCE extension request]
Date: Thu, 7 Oct 2021 23:36:14 -0700 [thread overview]
Message-ID: <20211008063614.lvcgrneloowd25cg@shells.gnugeneration.com> (raw)
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 -----
reply other threads:[~2021-10-08 13:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211008063614.lvcgrneloowd25cg@shells.gnugeneration.com \
--to=vcaputo@pengaru.com \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).