Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Sort sections. From Henning Petersen in PR 49222.



details:   https://anonhg.NetBSD.org/src/rev/16df476cc5f7
branches:  trunk
changeset: 332382:16df476cc5f7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Sep 19 16:02:58 2014 +0000

description:
Sort sections. From Henning Petersen in PR 49222.

diffstat:

 games/hals_end/hals_end.6          |  12 +++---
 lib/libc/stdlib/qsort.3            |  14 ++++----
 lib/libc/sys/getpgrp.2             |  60 +++++++++++++++++++-------------------
 lib/libc/sys/setpgid.2             |  16 +++++-----
 lib/libm/man/acosh.3               |  12 +++---
 lib/libm/man/asinh.3               |  12 +++---
 lib/libm/man/atanh.3               |  12 +++---
 share/man/man5/ar.5                |  18 +++++-----
 share/man/man5/hosts.equiv.5       |  16 +++++-----
 share/man/man5/netgroup.5          |   8 ++--
 usr.bin/bthset/bthset.1            |   6 +-
 usr.bin/btkey/btkey.1              |   6 +-
 usr.bin/btpin/btpin.1              |   6 +-
 usr.bin/su/su.1                    |  10 +++---
 usr.bin/vgrind/vgrindefs.5         |  12 +++---
 usr.bin/wc/wc.1                    |   6 +-
 usr.bin/whereis/whereis.1          |  10 +++---
 usr.sbin/lptctl/lptctl.8           |   8 ++--
 usr.sbin/mailwrapper/mailwrapper.8 |   8 ++--
 usr.sbin/sa/sa.8                   |  18 +++++-----
 usr.sbin/user/groupinfo.8          |   6 +-
 usr.sbin/user/user.8               |   6 +-
 usr.sbin/user/useradd.8            |   6 +-
 usr.sbin/user/userdel.8            |   6 +-
 usr.sbin/user/usermod.8            |   6 +-
 25 files changed, 150 insertions(+), 150 deletions(-)

diffs (truncated from 785 to 300 lines):

diff -r bb352cef0e06 -r 16df476cc5f7 games/hals_end/hals_end.6
--- a/games/hals_end/hals_end.6 Fri Sep 19 15:24:24 2014 +0000
+++ b/games/hals_end/hals_end.6 Fri Sep 19 16:02:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: hals_end.6,v 1.1 2013/11/12 17:46:21 mbalmer Exp $
+.\"    $NetBSD: hals_end.6,v 1.2 2014/09/19 16:02:58 wiz Exp $
 .\"
 .\" Copyright (c) 2003 - 2013 Marc Balmer <marc%msys.ch@localhost>.
 .\" All rights reserved.
@@ -46,11 +46,6 @@
 Every movie can be played back with fast forward.
 This option will double the speed of the output.
 .El
-.Sh BUGS
-Unlike the real HAL, this program can be repeately run.
-There should be functionality in the program to destroy itself after one run.
-The rationale for not doing this right now is that the movie itself can be
-watched several times as well.
 .Sh HISTORY
 .Nm
 first appeared in the book "Total Interaction" (ISBN 978-3-7643-7076-3) where
@@ -64,3 +59,8 @@
 .Nm
 was written by
 .An Marc Balmer Aq Mt marc%msys.ch@localhost .
+.Sh BUGS
+Unlike the real HAL, this program can be repeately run.
+There should be functionality in the program to destroy itself after one run.
+The rationale for not doing this right now is that the movie itself can be
+watched several times as well.
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libc/stdlib/qsort.3
--- a/lib/libc/stdlib/qsort.3   Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libc/stdlib/qsort.3   Fri Sep 19 16:02:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: qsort.3,v 1.13 2003/08/07 16:43:42 agc Exp $
+.\"    $NetBSD: qsort.3,v 1.14 2014/09/19 16:02:58 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -161,6 +161,12 @@
 Otherwise, they return \-1 and the global variable
 .Va errno
 is set to indicate the error.
+.Sh COMPATIBILITY
+Previous versions of
+.Fn qsort
+did not permit the comparison routine itself to call
+.Fn qsort .
+This is no longer true.
 .Sh ERRORS
 The
 .Fn heapsort
@@ -182,12 +188,6 @@
 .Fn mergesort
 were unable to allocate memory.
 .El
-.Sh COMPATIBILITY
-Previous versions of
-.Fn qsort
-did not permit the comparison routine itself to call
-.Fn qsort .
-This is no longer true.
 .Sh SEE ALSO
 .Xr sort 1 ,
 .Xr radixsort 3
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libc/sys/getpgrp.2
--- a/lib/libc/sys/getpgrp.2    Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libc/sys/getpgrp.2    Fri Sep 19 16:02:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getpgrp.2,v 1.23 2009/03/23 14:11:27 joerg Exp $
+.\"    $NetBSD: getpgrp.2,v 1.24 2014/09/19 16:02:58 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -69,6 +69,35 @@
 .Fn tcsetpgrp
 calls
 are used to get/set the process group of the control terminal.
+.Sh COMPATIBILITY
+This version of
+.Fn getpgrp
+differs from past Berkeley versions by not taking a
+.Fa "pid_t pid"
+argument.
+This incompatibility is required by
+.St -p1003.1-90 .
+.Pp
+From the
+.St -p1003.1-90
+Rationale:
+.Lp
+.Bx 4.3
+provides a
+.Fn getpgrp
+function that returns the process group ID for a specified process.
+Although this function is used to support job control, all known
+job-control shells always specify the calling process with this
+function.
+Thus, the simpler System V
+.Fn getpgrp
+suffices, and the added complexity of the
+.Bx 4.3
+.Fn getpgrp
+has been omitted from POSIX.1.
+The old functionality is available from the
+.Fn getpgid
+function.
 .Sh ERRORS
 .Fn getpgrp
 always succeeds, however
@@ -98,32 +127,3 @@
 .At V.4 ,
 and first appeared in
 .Nx 1.3 .
-.Sh COMPATIBILITY
-This version of
-.Fn getpgrp
-differs from past Berkeley versions by not taking a
-.Fa "pid_t pid"
-argument.
-This incompatibility is required by
-.St -p1003.1-90 .
-.Pp
-From the
-.St -p1003.1-90
-Rationale:
-.Lp
-.Bx 4.3
-provides a
-.Fn getpgrp
-function that returns the process group ID for a specified process.
-Although this function is used to support job control, all known
-job-control shells always specify the calling process with this
-function.
-Thus, the simpler System V
-.Fn getpgrp
-suffices, and the added complexity of the
-.Bx 4.3
-.Fn getpgrp
-has been omitted from POSIX.1.
-The old functionality is available from the
-.Fn getpgid
-function.
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libc/sys/setpgid.2
--- a/lib/libc/sys/setpgid.2    Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libc/sys/setpgid.2    Fri Sep 19 16:02:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: setpgid.2,v 1.22 2004/05/13 10:20:58 wiz Exp $
+.\"    $NetBSD: setpgid.2,v 1.23 2014/09/19 16:02:58 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -68,6 +68,13 @@
 If the request failed, \-1 is returned and the global variable
 .Va errno
 indicates the reason.
+.Sh COMPATIBILITY
+.Fn setpgrp
+is identical to
+.Fn setpgid ,
+and is retained for calling convention compatibility with historical
+versions of
+.Bx .
 .Sh ERRORS
 .Fn setpgid
 will fail and the process group will not be altered if:
@@ -98,10 +105,3 @@
 .Fn setpgid
 function conforms to
 .St -p1003.1-90 .
-.Sh COMPATIBILITY
-.Fn setpgrp
-is identical to
-.Fn setpgid ,
-and is retained for calling convention compatibility with historical
-versions of
-.Bx .
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libm/man/acosh.3
--- a/lib/libm/man/acosh.3      Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libm/man/acosh.3      Fri Sep 19 16:02:58 2014 +0000
@@ -26,7 +26,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)acosh.3      5.2 (Berkeley) 5/6/91
-.\"    $NetBSD: acosh.3,v 1.16 2013/01/29 02:54:30 matt Exp $
+.\"    $NetBSD: acosh.3,v 1.17 2014/09/19 16:02:58 wiz Exp $
 .\"
 .Dd January 29, 2013
 .Dt ACOSH 3
@@ -75,13 +75,13 @@
 .Xr exp 3 ,
 .Xr math 3
 .\" .Xr matherr 3
+.Sh STANDARDS
+The
+.Fn acosh
+function conforms to
+.St -isoC-99 .
 .Sh HISTORY
 The
 .Fn acosh
 function appeared in
 .Bx 4.3 .
-.Sh STANDARDS
-The
-.Fn acosh
-function conforms to
-.St -isoC-99 .
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libm/man/asinh.3
--- a/lib/libm/man/asinh.3      Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libm/man/asinh.3      Fri Sep 19 16:02:58 2014 +0000
@@ -26,7 +26,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)asinh.3      6.4 (Berkeley) 5/6/91
-.\"    $NetBSD: asinh.3,v 1.16 2013/01/29 02:54:30 matt Exp $
+.\"    $NetBSD: asinh.3,v 1.17 2014/09/19 16:02:58 wiz Exp $
 .\"
 .Dd January 29, 2013
 .Dt ASINH 3
@@ -73,13 +73,13 @@
 .Xr exp 3 ,
 .Xr math 3
 .\" .Xr matherr 3
+.Sh STANDARDS
+The
+.Fn asinh
+function conforms to
+.St -isoC-99 .
 .Sh HISTORY
 The
 .Fn asinh
 function appeared in
 .Bx 4.3 .
-.Sh STANDARDS
-The
-.Fn asinh
-function conforms to
-.St -isoC-99 .
diff -r bb352cef0e06 -r 16df476cc5f7 lib/libm/man/atanh.3
--- a/lib/libm/man/atanh.3      Fri Sep 19 15:24:24 2014 +0000
+++ b/lib/libm/man/atanh.3      Fri Sep 19 16:02:58 2014 +0000
@@ -26,7 +26,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)atanh.3      5.2 (Berkeley) 5/6/91
-.\"    $NetBSD: atanh.3,v 1.16 2013/01/29 02:54:30 matt Exp $
+.\"    $NetBSD: atanh.3,v 1.17 2014/09/19 16:02:58 wiz Exp $
 .\"
 .Dd January 29, 2013
 .Dt ATANH 3
@@ -75,13 +75,13 @@
 .Xr exp 3 ,
 .Xr math 3
 .\" .Xr matherr 3
+.Sh STANDARDS
+The
+.Fn atanh
+function conforms to
+.St -isoC-99 .
 .Sh HISTORY
 The
 .Fn atanh
 function appeared in
 .Bx 4.3 .
-.Sh STANDARDS
-The
-.Fn atanh
-function conforms to
-.St -isoC-99 .
diff -r bb352cef0e06 -r 16df476cc5f7 share/man/man5/ar.5
--- a/share/man/man5/ar.5       Fri Sep 19 15:24:24 2014 +0000
+++ b/share/man/man5/ar.5       Fri Sep 19 16:02:58 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ar.5,v 1.7 2003/08/07 10:31:16 agc Exp $
+.\"    $NetBSD: ar.5,v 1.8 2014/09/19 16:02:58 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -104,6 +104,14 @@
 which are an odd number of bytes long are padded with a newline
 .Pq Dq \en
 character, although the size in the header does not reflect this.
+.Sh COMPATIBILITY
+The current a.out archive format is not specified by any standard.
+.Pp
+ELF systems use the
+.Nm
+format specified by the
+.At V.4
+ABI, with the same headers but different long file name handling.
 .Sh SEE ALSO
 .Xr ar 1 ,
 .Xr stat 2
@@ -144,14 +152,6 @@
 as described above.
 This format first appeared in
 .Bx 4.4 .
-.Sh COMPATIBILITY
-The current a.out archive format is not specified by any standard.



Home | Main Index | Thread Index | Old Index