From owner-freebsd-hackers Fri Jan 7 8:36:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cichlids.com (as3-055.rp-plus.de [149.221.238.247]) by hub.freebsd.org (Postfix) with ESMTP id E47461570A for ; Fri, 7 Jan 2000 08:36:24 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 3B897AB92; Fri, 7 Jan 2000 17:36:26 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id RAA04473; Fri, 7 Jan 2000 17:36:23 +0100 (CET) (envelope-from alex) Date: Fri, 7 Jan 2000 17:36:23 +0100 From: Alexander Langer To: Thomas David Rivers Cc: hackers@FreeBSD.ORG Subject: Re: mktime(3) and strange struct tm entries Message-ID: <20000107173623.B4381@cichlids.cichlids.com> References: <19991231171423.A4219@cichlids.cichlids.com> <200001071628.LAA76267@lakes.dignus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200001071628.LAA76267@lakes.dignus.com>; from rivers@dignus.com on Fri, Jan 07, 2000 at 11:28:48AM -0500 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Thomas David Rivers (rivers@dignus.com): > I believe this is correct behaviour. Ok. I got a further question: From ctime(3): til tm_mon and tm_year are determined. Mktime() returns the specified calendar time; if the calendar time cannot be represented, it returns -1; Which calendar time is meant? IMO November 31th is void and cannot be represented. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message