Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2009 01:10:30 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/w Makefile w.c
Message-ID:  <200912060110.nB61AeZL020465@repoman.freebsd.org>

index | next in thread | raw e-mail

ed          2009-12-06 01:10:30 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/w            Makefile w.c 
  Log:
  SVN rev 200172 on 2009-12-06 01:10:30Z by ed
  
  Let w(1) use utmpx.
  
  We don't have UT_*SIZE anymore. One of the reasons for that is because
  all strings are null terminated, there is no need for apps to copy
  strings out of the utmpx structure. This means we can define W_DISP*SIZE
  lengths for all columns.
  
  While there, adjust the sizes a little. Steal some bytes from the
  username column, while extending the hostname column quite a bit.
  
  Revision  Changes    Path
  1.9       +3 -3      src/usr.bin/w/Makefile
  1.63      +26 -29    src/usr.bin/w/w.c


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912060110.nB61AeZL020465>