From zmailer-owner@nic.funet.fi Sun Oct 9 08:35:04 1994 Received: from yonge.cs.toronto.edu ([128.100.1.8]) by nic.funet.fi with SMTP id <91663-2>; Sun, 9 Oct 1994 08:35:00 +0200 Received: from ccsun.tuke.sk ([147.232.16.12]) by yonge.cs.toronto.edu with SMTP id <62466>; Sun, 9 Oct 1994 02:30:52 -0400 Received: by ccsun.tuke.sk id <64518-4>; Sun, 9 Oct 1994 07:29:19 +0100 Date: Sun, 9 Oct 1994 08:29:13 +0200 Sender: Kamil Kukura From: Kamil Kukura To: zmailer@cs.toronto.edu Subject: mailbox preserving access time Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Status: RO mailbox should preserve access time by default: *** mailbox.c Sun Oct 9 07:15:19 1994 --- mailbox.c.bak Sun Oct 9 07:14:13 1994 *************** *** 836,842 **** fstat(fileno(fp), &st); len = fread(buf, 1, 2, fp); ! if (keepatime) { /* if we want to keep atime then do it */ #ifdef USE_TIMEVAL struct timeval tv[2]; tv[0].tv_sec = orig_atime; --- 836,842 ---- fstat(fileno(fp), &st); len = fread(buf, 1, 2, fp); ! if (!keepatime) { #ifdef USE_TIMEVAL struct timeval tv[2]; tv[0].tv_sec = orig_atime; -- -- Kamil.Kukura@tuke.sk -- -------------------- -- MIME, ISO-Latin-2 --