Hello,
I'd like to suggest the following new module: fprintftime-check.
It uses the same infrastructure as fprintftime
(i.e. #include "nstrtime,c") to implement a new function:
int fprintftime_check (const char *format, const char** err_ptr);
This function enables syntax-check of the format s
Hi Bruno,
On Thu, 20 Dec 2018, Bruno Haible wrote:
> > + # E2K (elbrus) systems send SIGILL on an access to an invalid
> > address.
>
> This is a bug in the system. Access of an invalid address ought to produce a
> SIGSEGV or SIGBUS.
>
> 'elbrus' is not an important OS so far, for which i
Hi Assaf,
> This function enables syntax-check of the format string.
First question: Should this syntax-check be integrated into the
nstrftime() and fprintftime() functions? These functions are gnulib
inventions, therefore they could be extended to return
- an error indicator (maybe EINVAL?),
Hello Bruno,
On 2018-12-28 9:34 a.m., Bruno Haible wrote:
This function enables syntax-check of the format string.
First question: Should this syntax-check be integrated into the
nstrftime() and fprintftime() functions? These functions are gnulib
inventions, therefore they could be extended to
[CCing Florian Weimer.
Florian, the thread started at
https://lists.gnu.org/archive/html/bug-gnulib/2018-12/msg00149.html ]
Assaf Gordon wrote:
> The comment even says:
>/* Unknown format; output the format, including the '%',
> since this is most likely the right thing to do if