Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/337efc7f9f58
branches:  netbsd-6
changeset: 774237:337efc7f9f58
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Jun 23 22:54:54 2012 +0000

description:
Pull up following revision(s) (requested by joerg in ticket #328):
        lib/libc/gen/devname.c: revision 1.22
        distrib/sparc64/instfs/dot.profile: revision 1.7
        distrib/i386/cdroms/install.sh: revision 1.3
        tests/lib/libcurses/director/director.c: revision 1.10
        lib/libc/include/reentrant.h: revision 1.15
        distrib/amd64/cdroms/install.sh: revision 1.3
        tests/include/t_paths.c: revision 1.12
        share/man/man7/hier.7: revision 1.101
        etc/rc.d/sysdb: revision 1.24
        include/stdlib.h: revision 1.99
        tests/lib/libcurses/Makefile: revision 1.3
        distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
        distrib/i386/cdroms/Makefile.cdrom: revision 1.27
        lib/libc/gen/ttyname.c: revision 1.25
        usr.bin/tic/Makefile: revision 1.2
        tools/compat/Makefile: revision 1.57
        lib/libterminfo/compile.c: revision 1.7
        lib/libc/gen/ttyname.c: revision 1.26
        lib/libterminfo/compile.c: revision 1.8
        tools/compat/Makefile: revision 1.59
        tools/compat/cdbw.h: revision 1.1
        distrib/i386/installimage/install.sh: revision 1.2
        lib/libc/include/namespace.h: revision 1.154
        usr.bin/tic/tic.c: revision 1.13
        usr.bin/tic/tic.c: revision 1.14
        usr.bin/tic/tic.c: revision 1.15
        distrib/sets/lists/base/mi: revision 1.996
        usr.bin/tic/tic.c: revision 1.16
        usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
        usr.bin/tic/tic.c: revision 1.17
        usr.bin/tic/tic.c: revision 1.18
        tools/compat/cdbr.h: revision 1.1
        distrib/sparc64/instfs/list: revision 1.25
        usr.bin/tic/tic.c: revision 1.19
        lib/libc/cdb/cdbw.c: revision 1.4
        lib/libc/cdb/cdbw.3: revision 1.4
        lib/libc/cdb/cdbw.3: revision 1.5
        share/terminfo/Makefile: revision 1.3
        usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
        usr.sbin/dev_mkdb/Makefile: revision 1.8
        lib/libc/gen/ttyname.3: revision 1.23
        lib/libc/gen/ttyname.3: revision 1.24
        lib/libc/cdb/cdbr.c: revision 1.3
        include/cdbw.h: revision 1.2
        distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
        lib/libc/gen/devname.3: revision 1.12
        tools/compat/compat_defs.h: revision 1.85
        tools/compat/compat_defs.h: revision 1.86
        lib/libterminfo/term_private.h: revision 1.10
        lib/libterminfo/term.c: revision 1.14
        usr.bin/tic/tic.1: revision 1.10
        lib/libterminfo/term.c: revision 1.15
        lib/libterminfo/Makefile.hash: revision 1.5
        lib/libterminfo/term.c: revision 1.16
        distrib/amd64/installimage/install.sh: revision 1.2
        share/man/man5/rc.conf.5: revision 1.152
        distrib/sets/lists/tests/mi: revision 1.472
        distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
        include/paths.h: revision 1.41
        bin/ps/ps.1: revision 1.101
        lib/libterminfo/terminfo.5.in: revision 1.16
        usr.bin/tic/tic.c: revision 1.20
        lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.

diffstat:

 bin/ps/ps.1                                 |    4 +-
 distrib/amd64/cdroms/Makefile.cdrom         |    4 +-
 distrib/amd64/cdroms/install.sh             |    4 +-
 distrib/amd64/installimage/install.sh       |    4 +-
 distrib/i386/cdroms/Makefile.cdrom          |    4 +-
 distrib/i386/cdroms/install.sh              |    4 +-
 distrib/i386/installimage/install.sh        |    4 +-
 distrib/sets/lists/base/mi                  |    5 +-
 distrib/sets/lists/tests/mi                 |    5 +-
 distrib/sparc64/cdroms/installcd/Makefile   |    4 +-
 distrib/sparc64/cdroms/installcd/install.sh |    4 +-
 distrib/sparc64/instfs/dot.profile          |    4 +-
 distrib/sparc64/instfs/list                 |    4 +-
 etc/rc.d/sysdb                              |    3 +-
 include/cdbw.h                              |    3 +-
 include/paths.h                             |    3 +-
 include/stdlib.h                            |    3 +-
 lib/libc/cdb/cdbr.c                         |   14 +-
 lib/libc/cdb/cdbw.3                         |   16 +-
 lib/libc/cdb/cdbw.c                         |   23 +-
 lib/libc/gen/devname.3                      |   13 +-
 lib/libc/gen/devname.c                      |  275 +++++++++++--------------
 lib/libc/gen/ttyname.3                      |   10 +-
 lib/libc/gen/ttyname.c                      |   99 +--------
 lib/libc/include/namespace.h                |    3 +-
 lib/libc/include/reentrant.h                |   16 +-
 lib/libterminfo/Makefile.hash               |    4 +-
 lib/libterminfo/compile.c                   |   14 +-
 lib/libterminfo/term.c                      |   94 ++++---
 lib/libterminfo/term_private.h              |   19 +-
 lib/libterminfo/terminfo.5.in               |   16 +-
 share/man/man5/rc.conf.5                    |    8 +-
 share/man/man7/hier.7                       |   16 +-
 share/terminfo/Makefile                     |   12 +-
 tests/include/t_paths.c                     |    5 +-
 tests/lib/libcurses/Makefile                |   12 +-
 tests/lib/libcurses/director/director.c     |   10 +-
 tools/compat/Makefile                       |   10 +-
 tools/compat/cdbr.h                         |    5 +
 tools/compat/cdbw.h                         |    5 +
 tools/compat/compat_defs.h                  |    7 +-
 usr.bin/tic/Makefile                        |    6 +-
 usr.bin/tic/tic.1                           |   10 +-
 usr.bin/tic/tic.c                           |  221 ++++++++++---------
 usr.sbin/dev_mkdb/Makefile                  |    5 +-
 usr.sbin/dev_mkdb/dev_mkdb.8                |   19 +-
 usr.sbin/dev_mkdb/dev_mkdb.c                |  303 ++++++++++++++++-----------
 47 files changed, 698 insertions(+), 638 deletions(-)

diffs (truncated from 2525 to 300 lines):

diff -r b3b3de60e04d -r 337efc7f9f58 bin/ps/ps.1
--- a/bin/ps/ps.1       Fri Jun 15 11:22:22 2012 +0000
+++ b/bin/ps/ps.1       Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ps.1,v 1.95 2012/01/27 05:59:17 dholland Exp $
+.\"    $NetBSD: ps.1,v 1.95.2.1 2012/06/23 22:54:59 riz Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -681,7 +681,7 @@
 special files and device names
 .It Pa /dev/drum
 default swap device
-.It Pa /var/run/dev.db
+.It Pa /var/run/dev.cdb
 /dev name database
 .It Pa /var/db/kvm.db
 system namelist database
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/amd64/cdroms/Makefile.cdrom
--- a/distrib/amd64/cdroms/Makefile.cdrom       Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/amd64/cdroms/Makefile.cdrom       Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.6 2011/06/21 21:49:22 joerg Exp $
+# $NetBSD: Makefile.cdrom,v 1.6.4.1 2012/06/23 22:54:55 riz Exp $
 
 .include <bsd.own.mk>
 
@@ -53,7 +53,7 @@
 CDRUNTIME+=    ./usr/sbin/chroot
 CDRUNTIME+=    ./usr/sbin/installboot
 CDRUNTIME+=    ./usr/sbin/wiconfig
-CDRUNTIME+=    ./usr/share/misc/terminfo.db
+CDRUNTIME+=    ./usr/share/misc/terminfo.cdb
 CDRUNTIME+=    ./usr/share/locale
 
 image_md_pre:
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/amd64/cdroms/install.sh
--- a/distrib/amd64/cdroms/install.sh   Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/amd64/cdroms/install.sh   Sat Jun 23 22:54:54 2012 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -m
-# $NetBSD: install.sh,v 1.2 2011/04/17 12:18:20 martin Exp $
+# $NetBSD: install.sh,v 1.2.6.1 2012/06/23 22:54:55 riz Exp $
 #
 # -
 #  Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  002f000000000000)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/amd64/installimage/install.sh
--- a/distrib/amd64/installimage/install.sh     Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/amd64/installimage/install.sh     Sat Jun 23 22:54:54 2012 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -m
-# $NetBSD: install.sh,v 1.1 2012/01/22 03:53:29 tsutsui Exp $
+# $NetBSD: install.sh,v 1.1.2.1 2012/06/23 22:54:58 riz Exp $
 #
 # -
 #  Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  002f000000000000)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/i386/cdroms/Makefile.cdrom
--- a/distrib/i386/cdroms/Makefile.cdrom        Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/i386/cdroms/Makefile.cdrom        Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.26 2011/06/21 21:49:23 joerg Exp $
+# $NetBSD: Makefile.cdrom,v 1.26.4.1 2012/06/23 22:54:55 riz Exp $
 
 .include <bsd.own.mk>
 
@@ -53,7 +53,7 @@
 CDRUNTIME+=    ./usr/sbin/chroot
 CDRUNTIME+=    ./usr/sbin/installboot
 CDRUNTIME+=    ./usr/sbin/wiconfig
-CDRUNTIME+=    ./usr/share/misc/terminfo.db
+CDRUNTIME+=    ./usr/share/misc/terminfo.cdb
 CDRUNTIME+=    ./usr/share/locale
 
 image_md_pre:
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/i386/cdroms/install.sh
--- a/distrib/i386/cdroms/install.sh    Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/i386/cdroms/install.sh    Sat Jun 23 22:54:54 2012 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -m
-# $NetBSD: install.sh,v 1.2 2011/04/17 12:18:20 martin Exp $
+# $NetBSD: install.sh,v 1.2.6.1 2012/06/23 22:54:55 riz Exp $
 #
 # -
 #  Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  002f000000000000)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/i386/installimage/install.sh
--- a/distrib/i386/installimage/install.sh      Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/i386/installimage/install.sh      Sat Jun 23 22:54:54 2012 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -m
-# $NetBSD: install.sh,v 1.1 2012/01/22 03:53:30 tsutsui Exp $
+# $NetBSD: install.sh,v 1.1.2.1 2012/06/23 22:54:57 riz Exp $
 #
 # -
 #  Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  002f000000000000)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sets/lists/base/mi        Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.6 2012/06/14 09:48:44 sborrill Exp $
+# $NetBSD: mi,v 1.984.2.7 2012/06/23 22:54:57 riz Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -3766,7 +3766,8 @@
 ./usr/share/misc/more.help                     base-obsolete           obsolete
 ./usr/share/misc/nslookup.help                 base-obsolete           obsolete
 ./usr/share/misc/terminfo                      base-terminfo-share     share
-./usr/share/misc/terminfo.db                   base-terminfo-share     share
+./usr/share/misc/terminfo.cdb                  base-terminfo-share     share
+./usr/share/misc/terminfo.db                   base-obsolete           obsolete
 ./usr/share/misc/units.lib                     base-reference-share    share
 ./usr/share/misc/usb_hid_usages                        base-reference-share    share
 ./usr/share/misc/vgrindefs.db                  base-groff-share        share
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sets/lists/tests/mi       Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.439.2.1 2012/05/21 15:25:57 riz Exp $
+# $NetBSD: mi,v 1.439.2.2 2012/06/23 22:54:59 riz Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -2283,7 +2283,8 @@
 ./usr/tests/lib/libcrypt/t_crypt               tests-lib-tests
 ./usr/tests/lib/libcurses                      tests-lib-tests
 ./usr/tests/lib/libcurses/.terminfo.db         tests-obsolete          obsolete
-./usr/tests/lib/libcurses/terminfo.db          tests-lib-tests         atf
+./usr/tests/lib/libcurses/terminfo.cdb         tests-lib-tests         atf
+./usr/tests/lib/libcurses/terminfo.db          tests-obsolete          obsolete
 ./usr/tests/lib/libcurses/Atffile              tests-lib-tests         atf
 ./usr/tests/lib/libcurses/check_files                  tests-lib-tests
 ./usr/tests/lib/libcurses/check_files/addch.chk                tests-lib-tests         atf
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sparc64/cdroms/installcd/Makefile
--- a/distrib/sparc64/cdroms/installcd/Makefile Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sparc64/cdroms/installcd/Makefile Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2012/01/15 22:34:34 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.14.2.1 2012/06/23 22:54:56 riz Exp $
 CDBASE=                sparc64cd               # gives ${CDBASE}.iso
 CDRELEASE=     true                    # include $RELEASEDIR/$MACHINE
 
@@ -56,7 +56,7 @@
 CDRUNTIME+=    ./usr/sbin/installboot
 CDRUNTIME+=    ./usr/sbin/pppd
 CDRUNTIME+=    ./usr/sbin/wiconfig
-CDRUNTIME+=    ./usr/share/misc/terminfo.db
+CDRUNTIME+=    ./usr/share/misc/terminfo.cdb
 CDRUNTIME+=    ./usr/share/locale
 
 image_md_pre:
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sparc64/cdroms/installcd/install.sh
--- a/distrib/sparc64/cdroms/installcd/install.sh       Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sparc64/cdroms/installcd/install.sh       Sat Jun 23 22:54:54 2012 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -m
-# $NetBSD: install.sh,v 1.2 2011/04/17 12:18:20 martin Exp $
+# $NetBSD: install.sh,v 1.2.6.1 2012/06/23 22:54:56 riz Exp $
 #
 # -
 #  Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  0000000000005a0*)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sparc64/instfs/dot.profile
--- a/distrib/sparc64/instfs/dot.profile        Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sparc64/instfs/dot.profile        Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.6 2011/04/17 12:18:20 martin Exp $
+# $NetBSD: dot.profile,v 1.6.6.1 2012/06/23 22:54:55 riz Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -38,7 +38,7 @@
 
 # Check if we are on a framebuffer or on serial console and default
 # the terminal type accordingly.
-# There is no /var/db/dev.db, so sysctl might not map the devicename properly;
+# There is no /var/db/dev.cdb, so sysctl might not map the devicename properly;
 # ttyE0 is 90,0 -> 0x5a00
 case $(sysctl -nx kern.consdev) in
  0000000000005a0*)
diff -r b3b3de60e04d -r 337efc7f9f58 distrib/sparc64/instfs/list
--- a/distrib/sparc64/instfs/list       Fri Jun 15 11:22:22 2012 +0000
+++ b/distrib/sparc64/instfs/list       Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.24 2011/07/03 23:11:34 tron Exp $
+#      $NetBSD: list,v 1.24.4.1 2012/06/23 22:54:55 riz Exp $
 
 SRCDIRS        bin sbin libexec external/bsd/less/bin usr.bin usr.sbin
 
@@ -85,7 +85,7 @@
 COPY   ${NETBSDSRCDIR}/etc/netconfig           etc/netconfig
 COPY   ${DISTRIBDIR}/common/protocols          etc/protocols
 COPY   ${DISTRIBDIR}/common/services           etc/services
-COPY   ${DESTDIR}/usr/share/misc/terminfo.db   usr/share/misc/terminfo.db
+COPY   ${DESTDIR}/usr/share/misc/terminfo.cdb  usr/share/misc/terminfo.cdb
 
 # we need the boot block in /usr/mdec + the arch specific extras
 COPY   ${DESTDIR}/usr/mdec/binstall            usr/mdec/binstall       555
diff -r b3b3de60e04d -r 337efc7f9f58 etc/rc.d/sysdb
--- a/etc/rc.d/sysdb    Fri Jun 15 11:22:22 2012 +0000
+++ b/etc/rc.d/sysdb    Sat Jun 23 22:54:54 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: sysdb,v 1.22.4.1 2012/02/23 18:25:51 riz Exp $
+# $NetBSD: sysdb,v 1.22.4.2 2012/06/23 22:54:56 riz Exp $
 #
 
 # PROVIDE: sysdb
@@ -63,6 +63,7 @@
 build_devdb()
 {
        check_file /dev /var/run/dev.db dev_mkdb
+       check_file /dev /var/run/dev.cdb dev_mkdb
 }
 
 build_password()
diff -r b3b3de60e04d -r 337efc7f9f58 include/cdbw.h
--- a/include/cdbw.h    Fri Jun 15 11:22:22 2012 +0000
+++ b/include/cdbw.h    Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdbw.h,v 1.1 2010/04/25 00:54:45 joerg Exp $   */
+/*     $NetBSD: cdbw.h,v 1.1.10.1 2012/06/23 22:54:56 riz Exp $        */
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -49,6 +49,7 @@
     uint32_t *);
 int             cdbw_put_key(struct cdbw *, const void *, size_t,
     uint32_t);
+uint32_t        cdbw_stable_seeder(void);
 int             cdbw_output(struct cdbw *, int, const char[16],
     uint32_t (*)(void));
 void            cdbw_close(struct cdbw *);
diff -r b3b3de60e04d -r 337efc7f9f58 include/paths.h
--- a/include/paths.h   Fri Jun 15 11:22:22 2012 +0000
+++ b/include/paths.h   Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: paths.h,v 1.40 2011/09/27 11:24:20 jruoho Exp $        */
+/*     $NetBSD: paths.h,v 1.40.4.1 2012/06/23 22:54:56 riz Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -64,6 +64,7 @@
 #define _PATH_CPUCTL   "/dev/cpuctl"
 #define        _PATH_CSMAPPER  "/usr/share/i18n/csmapper"
 #define        _PATH_DEFTAPE   "/dev/nrst0"
+#define        _PATH_DEVCDB    "/var/run/dev.cdb"
 #define        _PATH_DEVDB     "/var/run/dev.db"
 #define        _PATH_DEVNULL   "/dev/null"
 #define        _PATH_DRUM      "/dev/drum"
diff -r b3b3de60e04d -r 337efc7f9f58 include/stdlib.h
--- a/include/stdlib.h  Fri Jun 15 11:22:22 2012 +0000
+++ b/include/stdlib.h  Sat Jun 23 22:54:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.97.6.1 2012/05/07 16:47:22 riz Exp $      */
+/*     $NetBSD: stdlib.h,v 1.97.6.2 2012/06/23 22:54:56 riz Exp $      */



Home | Main Index | Thread Index | Old Index