From owner-freebsd-current@FreeBSD.ORG Mon Apr 14 01:09:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42C537B401 for ; Mon, 14 Apr 2003 01:09:16 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id AECC143FB1 for ; Mon, 14 Apr 2003 01:09:15 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA00401; Mon, 14 Apr 2003 18:08:55 +1000 Date: Mon, 14 Apr 2003 18:08:54 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Riccardo Torrini In-Reply-To: <20030414074154.GG3965@trudy.torrini.home> Message-ID: <20030414180556.C16951@gamplex.bde.org> References: <200304091025.LAA13913@sorley.cogsci.ed.ac.uk> <20030413122948.GA42211@physik.TU-Berlin.DE> <20030414074154.GG3965@trudy.torrini.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jan Schlesner cc: freebsd-current@freebsd.org Subject: Re: Unix epoch changed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 08:09:17 -0000 On Mon, 14 Apr 2003, Riccardo Torrini wrote: > On Sun, Apr 13, 2003 at 02:29:48PM +0200, Jan Schlesner wrote: > > >> Ok, I remember wrong. But the question remain: why find -mtime -2 > >> show a file from 1906 (near 100 year ago) instead of 2 days old? It's probably just another sign extension bug. It is very easy to reproduce: %%% Script started on Mon Apr 14 18:03:08 2003 ttyp1:bde@besplex:/tmp> mkdir /tmp/findbug ttyp1:bde@besplex:/tmp> cd /tmp/findbug ttyp1:bde@besplex:/tmp/findbug> touch -t 190612311200 foo ttyp1:bde@besplex:/tmp/findbug> ls -l total 0 -rw-r--r-- 1 bde wheel 0 Dec 31 1906 foo ttyp1:bde@besplex:/tmp/findbug> find . -mtime -1 . ./foo ttyp1:bde@besplex:/tmp/findbug> exit Script done on Mon Apr 14 18:04:47 2003 %%% Bruce