zsh-workers
 help / color / mirror / code / Atom feed
From: bsmial@chbs.CIBA.COM (Al Smith)
To: zsh-workers@math.gatech.edu
Subject: Unidentified subject!
Date: Mon, 8 Jul 1996 15:09:59 +0200	[thread overview]
Message-ID: <199607081309.PAA27984@compbio.scs.is.chbs> (raw)

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.



             reply	other threads:[~1996-07-08 13:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-08 13:09 Al Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-18 15:25 Chris Bendall
1996-08-21  3:59 Joachim Backes
1996-08-20  7:03 Joachim Backes
1996-08-07  8:14 Joachim Backes
1996-08-02 15:50 Richard Coleman
1996-07-31  7:42 Joachim Backes
1996-03-01  0:50 gatemail
1996-01-30  8:10 Sven Wischnowsky
1996-01-29 15:06 lmannino
1995-07-22 16:27 Zefram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199607081309.PAA27984@compbio.scs.is.chbs \
    --to=bsmial@chbs.ciba.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).