www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/13/21:24:34

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: mktime implememtation problem
Date: Wed, 13 Oct 1999 16:18:08 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 23
Message-ID: <7u2t20$nfq$1@solomon.cs.rose-hulman.edu>
References: <3803A628 DOT 92B59B8B AT earthlink DOT net> <7u1ju9$fe2$2 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: 137.112.205.146
X-Trace: solomon.cs.rose-hulman.edu 939849600 24058 137.112.205.146 (13 Oct 1999 21:20:00 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 13 Oct 1999 21:20:00 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Stromberg <eplmst AT lu DOT erisoft DOT se> wrote in message
news:7u1ju9$fe2$2 AT antares DOT lu DOT erisoft DOT se...
> Martin Ambuhl (mambuhl AT earthlink DOT net) wrote:
> : The standard requires of mktime that "the original values of tm_wday and
> : rm_yday components of the structure are ignored."  I have discovered
> : that if I do not set these components to possibly legal values, mktime
> : returns (time_t)-1, meaning that it fails.  Will this be corrected, or
> : do I just live with it?
>
> Which standard?

ANSI C, or ISO C, or whatever it's called now.

> Right,

At least I think so.


Damian Yerrick
http://come.to/yerrick


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019