Source-Changes-HG archive

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

[src/netbsd-9]: src Pull up following revision(s) (requested by sevan in tick...



details:   https://anonhg.NetBSD.org/src/rev/88476f348612
branches:  netbsd-9
changeset: 458306:88476f348612
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 05 08:19:40 2019 +0000

description:
Pull up following revision(s) (requested by sevan in ticket #174):
        lib/libc/sys/chmod.2: revision 1.48
        lib/libc/sys/stat.2: revision 1.59
        lib/libc/sys/unlink.2: revision 1.30
        lib/libc/sys/lseek.2: revision 1.25
        lib/libc/sys/getuid.2: revision 1.18
        lib/libc/sys/chown.2: revision 1.37
        lib/libm/man/exp.3: revision 1.32
        lib/libm/man/log.3: revision 1.7
        lib/libc/sys/open.2: revision 1.60
        lib/libc/stdio/fopen.3: revision 1.36
        lib/libc/stdio/putc.3: revision 1.14
        lib/libc/sys/mount.2: revision 1.51
        share/man/man9/copy.9: revision 1.22
        share/man/man9/uiomove.9: revision 1.20
        lib/libc/sys/setuid.2: revision 1.23
        lib/libc/sys/close.2: revision 1.18
        sbin/init/init.8: revision 1.61
        lib/libc/sys/write.2: revision 1.36
        lib/libc/sys/read.2: revision 1.39
        sbin/init/init.8: revision 1.62
        lib/libc/sys/wait.2: revision 1.40
        usr.bin/tty/tty.1: revision 1.10
        lib/libc/sys/link.2: revision 1.33
        usr.bin/du/du.1: revision 1.24
        lib/libc/stdlib/exit.3: revision 1.17
        usr.bin/su/su.1: revision 1.53
        usr.bin/mail/mail.1: revision 1.66
        lib/libc/sys/fork.2: revision 1.25
        usr.bin/su/su.1: revision 1.54
        usr.bin/mail/mail.1: revision 1.67
        lib/libm/man/sin.3: revision 1.15
        share/man/man9/intro.9: revision 1.26
        share/man/man5/utmp.5: revision 1.17
        lib/libc/compat-43/creat.3: revision 1.17
        lib/libc/time/ctime.3: revision 1.61
        lib/libcompat/4.1/stty.3: revision 1.10
        usr.bin/dc/dc.1: revision 1.3
        lib/libm/man/cos.3: revision 1.17
        lib/libc/sys/chdir.2: revision 1.23
        lib/libc/gen/exec.3: revision 1.30
        lib/libc/gen/exec.3: revision 1.31
        games/bcd/bcd.6: revision 1.18
        games/bcd/bcd.6: revision 1.19
        usr.bin/write/write.1: revision 1.7
        usr.bin/wc/wc.1: revision 1.18
        usr.bin/pr/pr.1: revision 1.24
        usr.bin/who/who.1: revision 1.25
        lib/libc/sys/mkdir.2: revision 1.30
        lib/libc/stdio/getc.3: revision 1.13
        usr.bin/sort/sort.1: revision 1.40
        usr.bin/mesg/mesg.1: revision 1.11
        share/man/man5/passwd.5: revision 1.34
sort was there since v1
https://www.bell-labs.com/usr/dmr/www/man61.pdf

dc was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

du was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mail was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mesg was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

su was in v1
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man14.pdf
Update URL

write was in v1
https://www.bell-labs.com/usr/dmr/www/man14.pdf
grammar

passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5

Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf

getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf

mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

start documenting history
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which
version,
hence I've skipped mentioning it.
End sentence with a dot.
Remove superfluous Pp.
Remove superfluous Pp.
Remove superfluous Ns.
Remove superfluous Pp.
fetch(9) -> ufetch(9)
fetch(9) -> ufetch(9). Remove superfluous Pp.
fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).

diffstat:

 games/bcd/bcd.6            |  11 +++++++++--
 lib/libc/compat-43/creat.3 |   6 +++---
 lib/libc/gen/exec.3        |  10 +++++++---
 lib/libc/stdio/fopen.3     |   9 +++++++--
 lib/libc/stdio/getc.3      |  11 +++++++++--
 lib/libc/stdio/putc.3      |  15 +++++++++------
 lib/libc/stdlib/exit.3     |   9 +++++++--
 lib/libc/sys/chdir.2       |   8 ++++++--
 lib/libc/sys/chmod.2       |   8 ++++++--
 lib/libc/sys/chown.2       |   8 ++++++--
 lib/libc/sys/close.2       |   9 +++++++--
 lib/libc/sys/fork.2        |   6 +++---
 lib/libc/sys/getuid.2      |   6 +++---
 lib/libc/sys/link.2        |   9 +++++++--
 lib/libc/sys/lseek.2       |   6 +++---
 lib/libc/sys/mkdir.2       |   9 +++++++--
 lib/libc/sys/mount.2       |   8 ++++----
 lib/libc/sys/open.2        |   6 +++---
 lib/libc/sys/read.2        |   6 +++---
 lib/libc/sys/setuid.2      |   6 +++---
 lib/libc/sys/stat.2        |  12 +++++++-----
 lib/libc/sys/unlink.2      |   6 +++---
 lib/libc/sys/wait.2        |   6 +++---
 lib/libc/sys/write.2       |   6 +++---
 lib/libc/time/ctime.3      |   9 +++++++--
 lib/libcompat/4.1/stty.3   |   8 ++++++--
 lib/libm/man/cos.3         |   9 +++++++--
 lib/libm/man/exp.3         |   6 +++---
 lib/libm/man/log.3         |  12 +++++++-----
 lib/libm/man/sin.3         |   9 +++++++--
 sbin/init/init.8           |   7 +++----
 share/man/man5/passwd.5    |   6 +++---
 share/man/man5/utmp.5      |  10 ++++++----
 share/man/man9/copy.9      |   4 ++--
 share/man/man9/intro.9     |   8 ++------
 share/man/man9/uiomove.9   |   5 ++---
 usr.bin/dc/dc.1            |   6 +++---
 usr.bin/du/du.1            |   6 +++---
 usr.bin/mail/mail.1        |   9 +++------
 usr.bin/mesg/mesg.1        |   6 +++---
 usr.bin/pr/pr.1            |   9 +++++++--
 usr.bin/sort/sort.1        |   6 +++---
 usr.bin/su/su.1            |  14 ++++++--------
 usr.bin/tty/tty.1          |   9 +++++++--
 usr.bin/wc/wc.1            |   9 +++++++--
 usr.bin/who/who.1          |   6 +++---
 usr.bin/write/write.1      |   6 +++---
 47 files changed, 231 insertions(+), 144 deletions(-)

diffs (truncated from 1310 to 300 lines):

diff -r 3ef0c86e93e6 -r 88476f348612 games/bcd/bcd.6
--- a/games/bcd/bcd.6   Thu Sep 05 03:40:57 2019 +0000
+++ b/games/bcd/bcd.6   Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bcd.6,v 1.17 2018/01/16 06:43:53 pgoyette Exp $
+.\"    $NetBSD: bcd.6,v 1.17.6.1 2019/09/05 08:19:42 martin Exp $
 .\"
 .\" Copyright (c) 1988, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)bcd.6       8.1 (Berkeley) 5/31/93
 .\"
-.Dd January 9, 2018
+.Dd September 1, 2019
 .Dt BCD 6
 .Os
 .Sh NAME
@@ -83,3 +83,10 @@
 .%B "ITU-T Recommendation F.1: Operational provisions for the international public telegram service"
 .%O "Division B, I. Morse code"
 .Re
+.Sh HISTORY
+A
+.Nm bcd
+utility appeared in
+.At v1 .
+The current implementation originates from a rewrite included in
+.Bx 4.3 reno .
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/compat-43/creat.3
--- a/lib/libc/compat-43/creat.3        Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/compat-43/creat.3        Thu Sep 05 08:19:40 2019 +0000
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)creat.2      8.1 (Berkeley) 6/2/93
-.\"    $NetBSD: creat.3,v 1.16 2003/08/07 16:42:39 agc Exp $
+.\"    $NetBSD: creat.3,v 1.16.100.1 2019/09/05 08:19:42 martin Exp $
 .\"
-.Dd June 2, 1993
+.Dd September 1, 2019
 .Dt CREAT 3
 .Os
 .Sh NAME
@@ -62,4 +62,4 @@
 The
 .Fn creat
 function call appeared in
-.At v6 .
+.At v1 .
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/gen/exec.3
--- a/lib/libc/gen/exec.3       Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/gen/exec.3       Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: exec.3,v 1.29 2017/09/18 08:48:23 wiz Exp $
+.\"    $NetBSD: exec.3,v 1.29.6.1 2019/09/05 08:19:42 martin Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)exec.3     8.3 (Berkeley) 1/24/94
 .\"
-.Dd September 26, 2014
+.Dd September 1, 2019
 .Dt EXEC 3
 .Os
 .Sh NAME
@@ -278,7 +278,11 @@
 .Fn execvp
 conform to
 .St -p1003.1-90 .
-.Pp
+.Sh HISTORY
+The
+.Fn exec
+function appeared in
+.At v1 .
 The
 .Fn execlpe
 function appeared first in QNX and the
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/stdio/fopen.3
--- a/lib/libc/stdio/fopen.3    Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/stdio/fopen.3    Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fopen.3,v 1.35 2017/11/04 08:53:23 kre Exp $
+.\"    $NetBSD: fopen.3,v 1.35.6.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)fopen.3    8.1 (Berkeley) 6/4/93
 .\"
-.Dd November 3, 2017
+.Dd September 2, 2019
 .Dt FOPEN 3
 .Os
 .Sh NAME
@@ -298,6 +298,11 @@
 .St -ansiC .
 All three functions are specified in
 .St -p1003.1-2008 .
+.Sh HISTORY
+An
+.Fn fopen
+function appeared in
+.At v1 .
 .Sh CAVEATS
 Proper code using
 .Fn fdopen
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/stdio/getc.3
--- a/lib/libc/stdio/getc.3     Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/stdio/getc.3     Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getc.3,v 1.12 2003/08/07 16:43:26 agc Exp $
+.\"    $NetBSD: getc.3,v 1.12.100.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)getc.3     8.1 (Berkeley) 6/4/93
 .\"
-.Dd April 25, 2001
+.Dd September 2, 2019
 .Dt GETC 3
 .Os
 .Sh NAME
@@ -154,6 +154,13 @@
 .Fn getchar_unlocked
 functions conform to
 .St -p1003.1-96 .
+.Sh HISTORY
+The
+.Fn getc
+and
+.Fn getw
+functions appeared in
+.At v1 .
 .Sh BUGS
 Since
 .Dv EOF
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/stdio/putc.3
--- a/lib/libc/stdio/putc.3     Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/stdio/putc.3     Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: putc.3,v 1.13 2017/02/22 15:08:55 abhinav Exp $
+.\"    $NetBSD: putc.3,v 1.13.14.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)putc.3     8.1 (Berkeley) 6/4/93
 .\"
-.Dd May 6, 2010
+.Dd September 2, 2019
 .Dt PUTC 3
 .Os
 .Sh NAME
@@ -152,13 +152,16 @@
 conform to
 .St -p1003.1-96 .
 .Sh HISTORY
-The functions
+The
 .Fn putc ,
-.Fn putchar ,
 and
 .Fn putw
-first appeared in
-.At v6 .
+functions first appeared in
+.At v1 .
+The
+.Fn putchar
+function first appeared in
+.At v4 .
 The function
 .Fn fputc
 appeared in
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/stdlib/exit.3
--- a/lib/libc/stdlib/exit.3    Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/stdlib/exit.3    Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: exit.3,v 1.16 2013/04/26 18:29:55 christos Exp $
+.\" $NetBSD: exit.3,v 1.16.30.1 2019/09/05 08:19:41 martin Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     from: @(#)exit.3       8.1 (Berkeley) 6/4/93
 .\"
-.Dd January 2, 2012
+.Dd September 1, 2019
 .Dt EXIT 3
 .Os
 .Sh NAME
@@ -109,3 +109,8 @@
 function
 conforms to
 .St -ansiC .
+.Sh HISTORY
+The
+.Fn exit
+function appeared in
+.At v1 .
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/sys/chdir.2
--- a/lib/libc/sys/chdir.2      Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/sys/chdir.2      Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chdir.2,v 1.22 2013/02/05 13:36:59 wiz Exp $
+.\"    $NetBSD: chdir.2,v 1.22.32.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)chdir.2    8.2 (Berkeley) 12/11/93
 .\"
-.Dd February 5, 2013
+.Dd September 1, 2019
 .Dt CHDIR 2
 .Os
 .Sh NAME
@@ -130,6 +130,10 @@
 function conforms to
 .St -p1003.1-90 .
 .Sh HISTORY
+A
+.Fn chdir
+function call appeared in
+.At v1 .
 The
 .Fn fchdir
 function call
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/sys/chmod.2
--- a/lib/libc/sys/chmod.2      Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/sys/chmod.2      Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chmod.2,v 1.47 2013/10/15 11:43:21 njoly Exp $
+.\"    $NetBSD: chmod.2,v 1.47.28.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)chmod.2    8.1 (Berkeley) 6/4/93
 .\"
-.Dd July 29, 2013
+.Dd September 1, 2019
 .Dt CHMOD 2
 .Os
 .Sh NAME
@@ -288,6 +288,10 @@
 .St -p1003.1-2008 .
 .Sh HISTORY
 The
+.Fn chmod
+function call appeared in
+.At v1 .
+The
 .Fn fchmod
 function call
 appeared in
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/sys/chown.2
--- a/lib/libc/sys/chown.2      Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/sys/chown.2      Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chown.2,v 1.36 2013/07/30 12:38:16 njoly Exp $
+.\"    $NetBSD: chown.2,v 1.36.28.1 2019/09/05 08:19:40 martin Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)chown.2    8.4 (Berkeley) 4/19/94
 .\"
-.Dd July 30, 2013
+.Dd September 1, 2019
 .Dt CHOWN 2
 .Os
 .Sh NAME
@@ -253,6 +253,10 @@
 .El
 .Sh HISTORY
 The
+.Fn chown
+function call appeared in
+.At v1 .
+The
 .Fn fchown
 function call appeared in
 .Bx 4.2 .
diff -r 3ef0c86e93e6 -r 88476f348612 lib/libc/sys/close.2
--- a/lib/libc/sys/close.2      Thu Sep 05 03:40:57 2019 +0000
+++ b/lib/libc/sys/close.2      Thu Sep 05 08:19:40 2019 +0000
@@ -1,4 +1,4 @@



Home | Main Index | Thread Index | Old Index