s standardized, while timelocal(3) is not.
>>
>> But i don't quite see why timegm(3) should be marked as deprecated:
>> sure it was never standardized, but i don't see a better portable
>> way to achieve the same.
>>
>> Consequently, i suggest dropping millert'
ve verified that they were present in SunOS 4.1.3U1,
> > though that code appears to be derived from tzcode too.
>
> Bit Savers has scans of the SunOS 4.0 print manuals which includes
> a hard-copy of the man pages. Here you can see that timegm() and
> timelocal() wer
> though that code appears to be derived from tzcode too.
Bit Savers has scans of the SunOS 4.0 print manuals which includes
a hard-copy of the man pages. Here you can see that timegm() and
timelocal() were present in SunOS in 1987:
archive.org/details/bitsavers_sunsunos4.erenceManual198805_78292
On Thu, 23 Apr 2020 04:21:42 +0200, Ingo Schwarze wrote:
> Calling timelocal(3) deprecated makes sense to me because it is
> nothing but a trivial wrapper around mktime(3), and the latter
> is standardized, while timelocal(3) is not.
>
> But i don't quite see why timegm(3) s
Hi,
Theo de Raadt wrote on Wed, Apr 22, 2020 at 12:11:56AM -0600:
> William Ahern wrote:
>> On Tue, Apr 21, 2020 at 02:01:10PM +0200, Otto Moerbeek wrote:
>>> On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote:
>>>> Acording to the man page: "
William Ahern wrote:
> On Tue, Apr 21, 2020 at 02:01:10PM +0200, Otto Moerbeek wrote:
> > On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote:
> >
> > >
> > > Acording to the man page: "timegm() is a deprecated interface that
> > > converts
On Tue, Apr 21, 2020 at 02:01:10PM +0200, Otto Moerbeek wrote:
> On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote:
>
> >
> > Acording to the man page: "timegm() is a deprecated interface that
> > converts [...]"
> >
> > O.K., deprecated
On Tue, 21 Apr 2020, Otto Moerbeek wrote:
O.K., deprecated. And what is the alternative?
The paragraph above it (discussing timelocal()) suggests it's
mktime().
Thanks. I would preffer to reimplement timegm if it disappears than
going trhough the locale: it should be one or two lines
On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote:
>
> Acording to the man page: "timegm() is a deprecated interface that
> converts [...]"
>
> O.K., deprecated. And what is the alternative?
>
> Thanks for any hint
> Rodrigo
>
The paragraph above
Acording to the man page: "timegm() is a deprecated interface that
converts [...]"
O.K., deprecated. And what is the alternative?
Thanks for any hint
Rodrigo
10 matches
Mail list logo