From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id XAA24451 for ; Mon, 8 Jul 1996 23:22:16 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id JAA06088; Mon, 8 Jul 1996 09:14:27 -0400 (EDT) Resent-Date: Mon, 8 Jul 1996 09:14:27 -0400 (EDT) Date: Mon, 8 Jul 1996 15:09:59 +0200 From: bsmial@chbs.CIBA.COM (Al Smith) Message-Id: <199607081309.PAA27984@compbio.scs.is.chbs> Apparently-To: zsh-workers@math.gatech.edu Resent-Message-ID: <"igZ212.0.-U1.kcGun"@euclid> To: zsh-workers@math.gatech.edu Resent-From: zsh-workers@math.gatech.edu Subject: Unidentified subject! X-Mailing-List: archive/latest/1574 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu just got 3.0pre1 and found that there's still no change to watch.c: if someone logs out then i'm not really interested in the current time, rather the time they logged out. but getlogtime only goes back in wtmp to the time that [uw]tmp was last checked. one solution would be to ignore getlogtime and have it just return u->ut_time but i've got a feeling that there was a reason for verifying the log-out time in wtmp. so the alternative is: *** watch.c Fri Jun 28 15:43:51 1996 --- watch_ajs.c Mon Jul 8 15:08:07 1996 *************** *** 61,67 **** fclose(in); return time(NULL); } ! if (uu.ut_time < lastwatch || !srchlimit--) { fclose(in); return time(NULL); } --- 61,67 ---- fclose(in); return time(NULL); } ! if (!srchlimit--) { fclose(in); return time(NULL); } comments ?? -al.