Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 05:37:43 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202275 - head/lib/libc/gen
Message-ID:  <201001140537.o0E5bhdj038518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Jan 14 05:37:43 2010
New Revision: 202275
URL: http://svn.freebsd.org/changeset/base/202275

Log:
  Add two changes that should have gone into commit r202274.
  
    Phase out ttyslot(3).
  
    The ttyslot() function was originally part for SUSv1, marked LEGACY in
    SUSv2 and removed later on. This function only makes sense when using
    utmp(5), because it was used to determine the offset of the record for
    the controlling TTY. It makes little sense to keep it here, because the
    new utmpx file format doesn't index based on TTY slots.

Modified:
  head/lib/libc/gen/Makefile.inc
  head/lib/libc/gen/getttyent.3

Modified: head/lib/libc/gen/Makefile.inc
==============================================================================
--- head/lib/libc/gen/Makefile.inc	Thu Jan 14 05:35:32 2010	(r202274)
+++ head/lib/libc/gen/Makefile.inc	Thu Jan 14 05:37:43 2010	(r202275)
@@ -177,7 +177,7 @@ MLINKS+=tcsetattr.3 cfgetispeed.3 tcseta
 	tcsetattr.3 cfmakeraw.3 tcsetattr.3 cfsetispeed.3 \
 	tcsetattr.3 cfsetospeed.3 tcsetattr.3 cfsetspeed.3 \
 	tcsetattr.3 tcgetattr.3
-MLINKS+=ttyname.3 isatty.3 ttyname.3 ttyname_r.3 ttyname.3 ttyslot.3
+MLINKS+=ttyname.3 isatty.3 ttyname.3 ttyname_r.3
 MLINKS+=tzset.3 tzsetwall.3
 MLINKS+=unvis.3 strunvis.3 unvis.3 strunvisx.3
 MLINKS+=vis.3 strvis.3 vis.3 strvisx.3

Modified: head/lib/libc/gen/getttyent.3
==============================================================================
--- head/lib/libc/gen/getttyent.3	Thu Jan 14 05:35:32 2010	(r202274)
+++ head/lib/libc/gen/getttyent.3	Thu Jan 14 05:37:43 2010	(r202275)
@@ -188,7 +188,6 @@ zero otherwise.
 .El
 .Sh SEE ALSO
 .Xr login 1 ,
-.Xr ttyslot 3 ,
 .Xr gettytab 5 ,
 .Xr termcap 5 ,
 .Xr ttys 5 ,



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