[Top][All Lists]

[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).

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 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]