delorie.com/archives/browse.cgi | search |
From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | mktime implememtation problem |
Date: | Tue, 12 Oct 1999 17:20:40 -0400 |
X-Posted-Path-Was: | not-for-mail |
X-Accept-Language: | en |
X-ELN-Date: | 12 Oct 1999 21:18:24 GMT |
X-ELN-Insert-Date: | Tue Oct 12 14:25:06 1999 |
Organization: | Nocturnal Aviation |
Lines: | 12 |
Mime-Version: | 1.0 |
NNTP-Posting-Host: | dialup-209.246.104.112.newyork2.level3.net |
Message-ID: | <3803A628.92B59B8B@earthlink.net> |
X-Mailer: | Mozilla 4.7 [en] (Win95; U) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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? -- Martin Ambuhl mambuhl AT earthlink DOT net __________________________________________________________ Fight spam now! Get your free anti-spam service: http://www.brightmail.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |