Date: Wed, 13 Oct 1999 12:02:32 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Ambuhl cc: djgpp AT delorie DOT com Subject: Re: mktime implememtation problem In-Reply-To: <3803A628.92B59B8B@earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 12 Oct 1999, Martin Ambuhl 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. Care to provide a simple example? FWIW, the sources don't show tm_wday or tm_yday being referenced at all on the right-hand side of any assignment, and I cannot do much more without a test case.