From owner-cvs-lib Mon Jan 13 09:12:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA22460 for cvs-lib-outgoing; Mon, 13 Jan 1997 09:12:29 -0800 (PST) Received: (from wollman@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA22451; Mon, 13 Jan 1997 09:12:26 -0800 (PST) Date: Mon, 13 Jan 1997 09:12:26 -0800 (PST) From: Garrett Wollman Message-Id: <199701131712.JAA22451@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdtime localtime.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 97/01/13 09:12:26 Modified: lib/libc/stdtime localtime.c Log: When attempting to load a `lastditch' timezone (e.g., because the load of the user's timezone failed), don't bail if the specified timezone doesn't have an offset; in this case it isn't going to. (Perhaps it would be better to change the caller to always supply one, but this is quick and clean and fixes the bug in the easiest possible way.) Should be in 2.2. Fixes (properly) PR#1740. Revision Changes Path 1.12 +8 -7 src/lib/libc/stdtime/localtime.c