From owner-freebsd-current Fri Apr 5 00:50:49 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04356 for current-outgoing; Fri, 5 Apr 1996 00:50:49 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA04343 for ; Fri, 5 Apr 1996 00:50:45 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA17015 for ; Fri, 5 Apr 1996 10:50:24 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA02550 for freebsd-current@FreeBSD.org; Fri, 5 Apr 1996 10:50:23 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA24540 for freebsd-current@FreeBSD.org; Fri, 5 Apr 1996 10:31:29 +0200 (MET DST) From: J Wunsch Message-Id: <199604050831.KAA24540@uriah.heep.sax.de> Subject: Re: adjkerntz (was: cvs commit: src/usr.sbin/tzsetup ...) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Fri, 5 Apr 1996 10:31:28 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199604050250.GAA00789@astral.msk.su> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Apr 5, 96 06:50:40 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > rarely the case for me.) What if i use my own package to export/ > > import DOS files? (Yes, i really wrote one as paywork years ago. It > > Your package must handle timezone in this case. How if i don't know in which timezone the floppy i just wanna read has been created? What about mtools? You can argue how you want: DOS has simply ignored the problem for too long, and now that the technology has been rolling all over it, it's too late for a general solution. That's typical for DOS... > DOS have TZ environment variable (all C implmentations handle it). Well, dir(1) (not that there's really a man page section one, but so you know what i mean :) cannot handle it if i insert a floppy that came from USA, for example. TZ is solely handled by C runtime systems, and at least for my very old TC 2.0 (the only C system i've still got around), the TZ handling is buggy. I've just started pcemu and wrote a small test program: setting TZ affects both, localtime(3) and gmtime(3) similarly. Last not least, DOS timezone idea is broken. You can find work- arounds, and they might be working for you most of the time, but they remain workarounds for something that has been misdesigned in the first place. I won't do anything in my Unix systems to correct their mistakes. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)