[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Let's remove Gnulib's ctime module
From: |
Simon Josefsson |
Subject: |
Re: Let's remove Gnulib's ctime module |
Date: |
Mon, 05 Feb 2024 10:48:27 +0100 |
User-agent: |
Evolution 3.44.4-0ubuntu2 |
mån 2024-02-05 klockan 00:59 -0800 skrev Paul Eggert:
> On 2024-02-05 00:16, Simon Josefsson wrote:
> > didn't see anything in your patch that would warn about usage of
> > ctime?
> > Would it make sense for a gnulib ctime module to NOT replace ctime
> > but
> > warn that this function should really not be used?
>
> The time-h module does that, so there's no need for the ctime module
> for
> that.
>
> As I recall, Gnulib's ctime module fixes some time zone issues on
> MS-Windows, something that's quite low priority for a function that
> user
> code shouldn't be calling anyway due to ctime's undefined behavior
> when
> the time_t arg is out of range.
Okay -- I noticed several ctime() uses in GNU InetUtils (and in
somewhat hibernating GNU Shishi..) and will see if we can fix those.
People seems to be porting GNU InetUtils to Windows so there may be
interest in having this working.
/Simon
signature.asc
Description: This is a digitally signed message part
- lib/time.in.h, ctime has portability problems; with clang and groff, Bjarni Ingi Gislason, 2024/02/03
- Re: lib/time.in.h, ctime has portability problems; with clang and groff, Paul Eggert, 2024/02/03
- Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/03
- Re: Let's remove Gnulib's ctime module, Simon Josefsson, 2024/02/05
- Re: Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/05
- Re: Let's remove Gnulib's ctime module,
Simon Josefsson <=
- Re: Let's remove Gnulib's ctime module, Simon Josefsson, 2024/02/05
- Re: Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/06
- Re: Let's remove Gnulib's ctime module, Simon Josefsson, 2024/02/06
- Re: Let's remove Gnulib's ctime module, Bruno Haible, 2024/02/08
- Re: Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/08
- Re: Let's remove Gnulib's ctime module, Simon Josefsson, 2024/02/08
- Re: Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/08
- Re: Let's remove Gnulib's ctime module, Simon Josefsson, 2024/02/09
- Re: Let's remove Gnulib's ctime module, Paul Eggert, 2024/02/09
- Re: Let's remove Gnulib's ctime module, Bruno Haible, 2024/02/09