From owner-freebsd-stable Wed Mar 3 12:19:33 1999 Delivered-To: freebsd-stable@freebsd.org Received: from holly.dyndns.org (ip90.houston2.tx.pub-ip.psi.net [38.11.201.90]) by hub.freebsd.org (Postfix) with ESMTP id 585FE15013 for ; Wed, 3 Mar 1999 12:18:23 -0800 (PST) (envelope-from chris@holly.dyndns.org) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id OAA26715; Wed, 3 Mar 1999 14:18:52 -0600 (CST) (envelope-from chris) Date: Wed, 3 Mar 1999 14:18:51 -0600 From: Chris Costello To: Marc Olzheim Cc: stable@FreeBSD.ORG Subject: Re: tzset in libc Message-ID: <19990303141850.B13061@holly.dyndns.org> Reply-To: chris@calldei.com References: <19990303170256.A15288@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3us In-Reply-To: <19990303170256.A15288@stack.nl>; from Marc Olzheim on Wed, Mar 03, 1999 at 05:02:56PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 3, 1999, Marc Olzheim put this into my mailbox: > > Hi, > > I was wondering why it was that each time you call localtime() or strftime(), > tzset() is called also. Isn't it so that it only has to be called once > per process and then be regearded as already set ? No. If you reset your time zone while a program is running, what then? -Chris -- Powered by FreeBSD 4.0-CURRENT. "The Power to Serve!" int main(int m){main(!main(0));} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message