Source-Changes-HG archive

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

[src/trunk]: src Don't mention sprintf and vsprintf, they don't exist in the ...



details:   https://anonhg.NetBSD.org/src/rev/af05e7b2da11
branches:  trunk
changeset: 319355:af05e7b2da11
user:      maya <maya%NetBSD.org@localhost>
date:      Sun May 27 21:09:39 2018 +0000

description:
Don't mention sprintf and vsprintf, they don't exist in the kernel.
Drop MLINKS, too.

diffstat:

 distrib/sets/lists/comp/mi |  14 +++++++-------
 share/man/man9/Makefile    |   6 +++---
 share/man/man9/kprintf.9   |  16 ++--------------
 3 files changed, 12 insertions(+), 24 deletions(-)

diffs (120 lines):

diff -r 5d4dde7e51ab -r af05e7b2da11 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Sun May 27 19:54:45 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Sun May 27 21:09:39 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2196 2018/05/24 22:37:58 christos Exp $
+#      $NetBSD: mi,v 1.2197 2018/05/27 21:09:39 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -11561,7 +11561,7 @@
 ./usr/share/man/cat9/spltty.0                  comp-sys-catman         .cat
 ./usr/share/man/cat9/splvm.0                   comp-sys-catman         .cat
 ./usr/share/man/cat9/splx.0                    comp-sys-catman         .cat
-./usr/share/man/cat9/sprintf.0                 comp-sys-catman         .cat
+./usr/share/man/cat9/sprintf.0                 comp-obsolete           obsolete
 ./usr/share/man/cat9/stathz.0                  comp-sys-catman         .cat
 ./usr/share/man/cat9/store.0                   comp-sys-catman         .cat
 ./usr/share/man/cat9/subyte.0                  comp-sys-catman         .cat
@@ -11836,7 +11836,7 @@
 ./usr/share/man/cat9/vrele_async.0             comp-sys-catman         .cat
 ./usr/share/man/cat9/vslock.0                  comp-obsolete           obsolete
 ./usr/share/man/cat9/vsnprintf.0               comp-sys-catman         .cat
-./usr/share/man/cat9/vsprintf.0                        comp-sys-catman         .cat
+./usr/share/man/cat9/vsprintf.0                        comp-obsolete           obsolete
 ./usr/share/man/cat9/vsunlock.0                        comp-obsolete           obsolete
 ./usr/share/man/cat9/vtruncbuf.0               comp-sys-catman         .cat
 ./usr/share/man/cat9/vwakeup.0                 comp-sys-catman         .cat
@@ -19222,7 +19222,7 @@
 ./usr/share/man/html9/spltty.html              comp-sys-htmlman        html
 ./usr/share/man/html9/splvm.html               comp-sys-htmlman        html
 ./usr/share/man/html9/splx.html                        comp-sys-htmlman        html
-./usr/share/man/html9/sprintf.html             comp-sys-htmlman        html
+./usr/share/man/html9/sprintf.html             comp-obsolete           obsolete
 ./usr/share/man/html9/stathz.html              comp-sys-htmlman        html
 ./usr/share/man/html9/store.html               comp-sys-htmlman        html
 ./usr/share/man/html9/subyte.html              comp-sys-htmlman        html
@@ -19471,7 +19471,7 @@
 ./usr/share/man/html9/vrele.html               comp-sys-htmlman        html
 ./usr/share/man/html9/vrele_async.html         comp-sys-htmlman        html
 ./usr/share/man/html9/vsnprintf.html           comp-sys-htmlman        html
-./usr/share/man/html9/vsprintf.html            comp-sys-htmlman        html
+./usr/share/man/html9/vsprintf.html            comp-obsolete           obsolete
 ./usr/share/man/html9/vtruncbuf.html           comp-sys-htmlman        html
 ./usr/share/man/html9/vwakeup.html             comp-sys-htmlman        html
 ./usr/share/man/html9/wakeup.html              comp-sys-htmlman        html
@@ -27081,7 +27081,7 @@
 ./usr/share/man/man9/spltty.9                  comp-sys-man            .man
 ./usr/share/man/man9/splvm.9                   comp-sys-man            .man
 ./usr/share/man/man9/splx.9                    comp-sys-man            .man
-./usr/share/man/man9/sprintf.9                 comp-sys-man            .man
+./usr/share/man/man9/sprintf.9                 comp-obsolete           obsolete
 ./usr/share/man/man9/stathz.9                  comp-sys-man            .man
 ./usr/share/man/man9/store.9                   comp-sys-man            .man
 ./usr/share/man/man9/subyte.9                  comp-sys-man            .man
@@ -27356,7 +27356,7 @@
 ./usr/share/man/man9/vrele_async.9             comp-sys-man            .man
 ./usr/share/man/man9/vslock.9                  comp-obsolete           obsolete
 ./usr/share/man/man9/vsnprintf.9               comp-sys-man            .man
-./usr/share/man/man9/vsprintf.9                        comp-sys-man            .man
+./usr/share/man/man9/vsprintf.9                        comp-obsolete           obsolete
 ./usr/share/man/man9/vsunlock.9                        comp-obsolete           obsolete
 ./usr/share/man/man9/vtruncbuf.9               comp-sys-man            .man
 ./usr/share/man/man9/vwakeup.9                 comp-sys-man            .man
diff -r 5d4dde7e51ab -r af05e7b2da11 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Sun May 27 19:54:45 2018 +0000
+++ b/share/man/man9/Makefile   Sun May 27 21:09:39 2018 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.420 2018/05/12 14:49:34 jdolecek Exp $
+#       $NetBSD: Makefile,v 1.421 2018/05/27 21:09:39 maya Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -456,8 +456,8 @@
        kpreempt.9 kpreempt_disabled.9 \
        kpreempt.9 kpreempt_enable.9
 MLINKS+=proc_find.9 pgrp_find.9
-MLINKS+=kprintf.9 printf.9 kprintf.9 printf_nolog.9 kprintf.9 sprintf.9 \
-       kprintf.9 snprintf.9 kprintf.9 vprintf.9 kprintf.9 vsprintf.9 \
+MLINKS+=kprintf.9 printf.9 kprintf.9 printf_nolog.9 \
+       kprintf.9 snprintf.9 kprintf.9 vprintf.9 \
        kprintf.9 vsnprintf.9 kprintf.9 uprintf.9 kprintf.9 ttyprintf.9 \
        kprintf.9 tprintf.9 kprintf.9 tprintf_open.9 kprintf.9 tprintf_close.9 \
        kprintf.9 aprint_normal.9 kprintf.9 aprint_naive.9 \
diff -r 5d4dde7e51ab -r af05e7b2da11 share/man/man9/kprintf.9
--- a/share/man/man9/kprintf.9  Sun May 27 19:54:45 2018 +0000
+++ b/share/man/man9/kprintf.9  Sun May 27 21:09:39 2018 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: kprintf.9,v 1.36 2017/10/27 12:25:14 joerg Exp $
+.\"     $NetBSD: kprintf.9,v 1.37 2018/05/27 21:09:39 maya Exp $
 .\"
 .\" Copyright (c) 1998, 2002, 2007, 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 1, 2017
+.Dd May 27, 2018
 .Dt KPRINTF 9
 .Os
 .Sh NAME
@@ -291,18 +291,6 @@
 .Xr autoconf 9 ,
 .Xr boothowto 9
 .Sh HISTORY
-The
-.Fn sprintf
-and
-.Fn vsprintf
-unsized string formatting functions are supported for compatibility only,
-and are not documented here.
-New code should use the size-limited
-.Fn snprintf
-and
-.Fn vsnprintf
-functions instead.
-.Pp
 In
 .Nx 1.5
 and earlier,



Home | Main Index | Thread Index | Old Index