[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename strftime module
From: |
Pádraig Brady |
Subject: |
Re: rename strftime module |
Date: |
Sun, 30 Apr 2017 10:22:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 30/04/17 07:53, Bruno Haible wrote:
> Hi,
>
> The name of the strftime module is misleading:
> 1) It suggests that it defines the function 'strftime', but in fact it
> defines 'nstrftime'. GNU findutils fell into this pit: their
> bootstrap.conf
> requests the gnulib 'strftime' module but the coded doesn't use
> nstrftime.
> 2) When we need to apply workarounds to the strftime() function, it is
> awkward to not be able to use the module name 'strftime' for it.
>
> I'd suggest to rename 'strftime' to 'strftime-gnu' or 'nstrftime', and mark
> the 'strftime' module obsolete for two years, then after two years remove it.
> So that all users of this module have enough time to notice the change.
Sounds sensible to me.
I was initially confused with this module also