From owner-freebsd-bugs Fri May 5 23:40:21 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA26034 for bugs-outgoing; Fri, 5 May 1995 23:40:21 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA26025 for ; Fri, 5 May 1995 23:40:11 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA19876; Sat, 6 May 1995 08:40:06 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA20390; Sat, 6 May 1995 08:40:06 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA29861; Sat, 6 May 1995 08:36:59 +0200 From: J Wunsch Message-Id: <199505060636.IAA29861@uriah.heep.sax.de> Subject: Re: timezone problems To: pete@gatekeeper.ent-img.com (Pete Carah) Date: Sat, 6 May 1995 08:36:58 +0200 (MET DST) Cc: bugs@FreeBSD.org In-Reply-To: from "Pete Carah" at May 5, 95 06:04:10 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1173 Sender: bugs-owner@FreeBSD.org Precedence: bulk As Pete Carah wrote: > > I figured out what I did to cause my seg faults, but it might be > nice if zoneinfo and family was a bit more forgiving of bad > zoneinfo files... (I was setting TZ to "Pacific" which turned > out to be a directory; this caused seg faults whenever trying > to print a time :-( Problem is fixed but some other reaction > might be nice to non-experienced users. Which system version? j@uriah 337% date Sat May 6 08:33:20 MET DST 1995 j@uriah 338% env TZ=DoEsNoTeXiSt date Sat May 6 06:33:23 1995 j@uriah 339% env TZ=Pacific date Sat May 6 06:33:29 1995 j@uriah 340% env TZ=.. date Sat May 6 06:33:32 1995 j@uriah 341% env TZ=EDT date Sat May 6 06:33:48 1995 j@uriah 342% env TZ=EST5EDT date Sat May 6 02:34:14 EDT 1995 For any unreasonable value, it falls back to UTC, without displaying a timezone name. j@uriah 343% uname -a FreeBSD uriah.heep.sax.de BUILT-19950429 FreeBSD BUILT-19950429 #20: Sat Apr 29 22:47:04 MET DST 1995 bin@uriah.heep.sax.de:/home/bin/sys/compile/URIAH i386 -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)