🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development.system
Article #135

Re: Year 2000 and Linux

#135
From: Miquel van Smoorenburg
Date: Thu, 05 Mar 1998 00:00
18 lines
1183 bytes
In article <casper.889020671@uk-usenet.uk.sun.com>,
Casper H.S. Dik - Network Security Engineer <Casper.Dik@Holland.Sun.Com> wrote:
>Oops, mktime() returns -1.

Well, according to my manual page:

       If the specified broken-down time cannot be represented as
       calendar  time,  mktime()  returns a value of (time_t)(-1)

So it returns (time_t)-1, which is something else ..

Just nitpicking ..

Mike.
-- 
 Miquel van Smoorenburg |  
    miquels@cistron.nl  |  Luck is when preparation meets opportunity
Technical Details
Message-ID: <6dkmqc$202$1@defiant.cistron.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <541zwjlq6y.fsf@rrdjazz.nist.gov> <x4sooyrjdb.fsf@backbone.midwestcs.com> <casper.889020671@uk-usenet.uk.sun.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,988a9a95e4afdf07
X-Google-Attributes: gidf5392,public
X-Google-Thread: 11663c,988a9a95e4afdf07
X-Google-Attributes: gid11663c,public
From: miquels@cistron.nl (Miquel van Smoorenburg)
Subject: Re: Year 2000 and Linux
Date: 1998/03/05
Message-ID: <6dkmqc$202$1@defiant.cistron.nl>
X-Deja-AN: 330894423
References: <541zwjlq6y.fsf@rrdjazz.nist.gov> <x4sooyrjdb.fsf@backbone.midwestcs.com> <casper.889020671@uk-usenet.uk.sun.com>
X-Server-Date: 4 Mar 1998 23:03:07 GMT
Organization: Cistron Internet Services B.V.
Newsgroups: comp.os.linux.development.system,dc.org.linux-users