cvs commit: src/usr.bin/finger lprint.c sprint.c util.c

Robert Watson rwatson at FreeBSD.org
Wed Apr 2 12:22:30 PST 2003


rwatson     2003/04/02 12:22:29 PST

  FreeBSD src repository

  Modified files:
    usr.bin/finger       lprint.c sprint.c util.c 
  Log:
  If stat() on the terminal specified in utmp fails due to ENOENT, don't
  print a warning, and set the idletime variable for the entry to -1;
  then pick up the -1 later in sprint() and lprint() and ignore those
  idle times by printing just whitespace.  When third party applications,
  such as kdm, insert utmp entries, they sometimes use strings like ":0",
  which can't be stat()'d and currently result in warnings that are
  not helpful to the user.
  
  Revision  Changes    Path
  1.24      +2 -1      src/usr.bin/finger/lprint.c
  1.22      +5 -0      src/usr.bin/finger/sprint.c
  1.21      +14 -1     src/usr.bin/finger/util.c


More information about the cvs-src mailing list