[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Year 2038 problem in handling cookie date
From: |
Thorsten Glaser |
Subject: |
Re: [Lynx-dev] Year 2038 problem in handling cookie date |
Date: |
Tue, 6 Nov 2018 20:19:27 +0000 (UTC) |
Dixi quod…
>There are more bugs, for example:
>
> 996 if ((long) Start < 0)
Now I see it was even wrong on platforms with a
(long-sized) unsigned time_t…
Ideally, you should not cast here at all, and
wrap the entire check into an #if(def) that is
false if time_t is unsigned (configure-time check,
easily done with the array trick).
bye,
//mirabilos
--
11:56⎜«liwakura:#!/bin/mksh» also, i wanted to add mksh to my own distro │
i was disappointed that there is no makefile │ but somehow the Build.sh is
the least painful built system i've ever seen │ honours CC, {CPP,C,LD}FLAGS
properly │ looks cleary like done by someone who knows what they are doing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Lynx-dev] Year 2038 problem in handling cookie date,
Thorsten Glaser <=