Loading...
gen/NetBSD/utmpx.5.patch Libc-763.13 Libc-391.4.2
--- Libc/Libc-763.13/gen/NetBSD/utmpx.5.patch
+++ Libc/Libc-391.4.2/gen/NetBSD/utmpx.5.patch
@@ -1,6 +1,6 @@
---- utmpx.5.orig	2009-11-06 10:28:19.000000000 -0800
-+++ utmpx.5	2009-11-06 10:29:23.000000000 -0800
-@@ -31,9 +31,7 @@
+--- utmpx.5.orig	2004-07-13 09:15:18.000000000 -0700
++++ utmpx.5	2004-08-05 15:33:40.000000000 -0700
+@@ -38,23 +38,16 @@
  .Dt UTMPX 5
  .Os
  .Sh NAME
@@ -11,9 +11,11 @@
  .Nd user accounting database
  .Sh SYNOPSIS
  .In utmpx.h
-@@ -53,88 +51,51 @@ The
+ .Sh DESCRIPTION
+ The
  .Aq Pa utmpx.h
- header defines the structures and functions for logging user.
+-header defines the structures and functions for logging user.
++header defines the structure and functions for logging user.
  Currently logged in users are tracked in
 -.Pa /var/run/utmpx ,
 -a list of all logins and logouts, as well as all shutdowns, reboots
@@ -21,36 +23,20 @@
 -.Pa /var/log/wtmpx ,
 -and the last login of each user is noted in
 -.Pa /var/log/lastlogx .
--.Pp
 +.Pa /var/run/utmpx .
- The interface to the
+ The files are not automatically created if they do not exist; they
+ must be created manually.
+ .Pp
+@@ -62,76 +55,18 @@
  .Nm utmpx
  file is described in
--.Xr getutxent 3 .
-+.Xr endutxent 3 .
-+The file is not automatically created if they do not exist; it
-+must be created manually.
- .Pp
+ .Xr endutxent 3 .
+-.Pp
 -The
 -.Nm wtmpx
 -file can grow rapidly on busy systems, and is normally rotated with
 -.Xr newsyslog 8 .
-+Traditionally, separate files would be used to store the running log of
-+the logins and logouts
-+.Pf ( Pa wtmpx ) ,
-+and the last login of each user
-+.Pf ( Pa lastlogx ) .
-+With the availability of the Apple system log facility
-+.Xr asl 3 ,
-+these separate files can be replace with log entries, which are automatically
-+generated when
-+.Nm utmpx
-+entries are written.
-+The API to access the logins and logouts is described in
-+.Xr endutxent_wtmp 3
-+while the last login info is accessible with
-+.Xr getlastlogx 3 .
- .Pp
+-.Pp
 -In the event of a date change, a shutdown, or a reboot, the following
 -items are logged in the
 -.Nm wtmpx
@@ -85,21 +71,16 @@
 -.Fa ut_name
 -(see
 -.Xr shutdown 8
-+For compatibility, changes to
-+.Nm utmpx
-+are reflected in
-+.Xr utmp 3
-+(in the
-+.Pa utmp ,
-+.Pa wtmp
- and
+-and
 -.Xr reboot 8 ) ,
 -using
 -.Xr logwtmpx 3 .
 -.Pp
 -.El
-+.Pa lastlog
-+files),
++For compatibility, changes to
++.Nm utmpx
++are reflected in
++.Xr utmp 3 ,
 +but not the other way around.
  .Sh FILES
 -.Bl -tag -width /var/log/lastlogx -compact
@@ -123,14 +104,10 @@
 -.Xr rwho 1 ,
 -.Xr w 1 ,
 -.Xr who 1 ,
-+.Xr asl 3 ,
  .Xr endutxent 3 ,
 -.Xr logwtmpx 3 ,
--.Xr utmp 5 ,
 -.Xr ac 8 ,
 -.Xr init 8 ,
 -.Xr newsyslog 8 ,
 -.Xr reboot 8
-+.Xr endutxent_wtmp 3 ,
-+.Xr getlastlogx 3 ,
 +.Xr utmp 5