From owner-freebsd-hackers Fri Jan 7 10:21:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.bfm.org (mail.bfm.org [216.127.218.26]) by hub.freebsd.org (Postfix) with ESMTP id D4AB114ED6 for ; Fri, 7 Jan 2000 10:21:46 -0800 (PST) (envelope-from adam@whizkidtech.net) Received: from WhizKid (r5.bfm.org [216.127.220.101]) by mail.bfm.org (Post.Office MTA v3.5 release 215 ID# 0-52399U2500L250S0V35) with SMTP id org; Fri, 7 Jan 2000 12:21:43 -0600 Message-Id: <3.0.6.32.20000107122223.009ab930@mail85.pair.com> X-Sender: whizkid@mail85.pair.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 07 Jan 2000 12:22:23 -0600 To: Alexander Langer , hackers@FreeBSD.ORG From: "G. Adam Stanislav" Subject: Re: mktime(3) and strange struct tm entries In-Reply-To: <19991231171423.A4219@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 17:14 31-12-1999 +0100, Alexander Langer wrote: >mktime(3) with this tm returns the date 1 Dezember. > >Does POSIX want this? >Does anyone have the specs and could take a look? >Or is this a bug? Says POSIX Programmer's Guide, by Donald Lewine: "The mktime() function is not required to reject invalid dates. For example, November 55th may be equivalent to December 25th." Does that answer your questions? Cheers, Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message