Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 15:43:14 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/gen ttyslot.c
Message-ID:  <201001171543.o0HFhTcD070210@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2010-01-17 15:43:14 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/gen         ttyslot.c 
  Log:
  SVN rev 202487 on 2010-01-17 15:43:14Z by ed
  
  Simplify ttyslot(3).
  
  After comparing how other systems deal with utmp/utmpx, I noticed many
  systems don't even care about ttyslot(3) anymore, since utmpx doesn't
  use TTY slots anyway. We don't provide any tools to access old utmp
  files anymore, so there is no use in letting applications write to a
  proper offset within the utmp file.
  
  Just let ttyslot(3) always return 0, which seems to be the default
  behaviour on operating systems like Linux as well.
  
  Revision  Changes    Path
  1.8       +1 -25     src/lib/libc/gen/ttyslot.c



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