Source-Changes archive

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

CVS commit: [netbsd-6] src

Module Name:    src
Committed By:   riz
Date:           Sat Jun 23 22:54:59 UTC 2012

Modified Files:
        src/bin/ps [netbsd-6]: ps.1
        src/distrib/amd64/cdroms [netbsd-6]: Makefile.cdrom
        src/distrib/amd64/installimage [netbsd-6]:
        src/distrib/i386/cdroms [netbsd-6]: Makefile.cdrom
        src/distrib/i386/installimage [netbsd-6]:
        src/distrib/sets/lists/base [netbsd-6]: mi
        src/distrib/sets/lists/tests [netbsd-6]: mi
        src/distrib/sparc64/cdroms/installcd [netbsd-6]: Makefile
        src/distrib/sparc64/instfs [netbsd-6]: dot.profile list
        src/etc/rc.d [netbsd-6]: sysdb
        src/include [netbsd-6]: cdbw.h paths.h stdlib.h
        src/lib/libc/cdb [netbsd-6]: cdbr.c cdbw.3 cdbw.c
        src/lib/libc/gen [netbsd-6]: devname.3 devname.c ttyname.3 ttyname.c
        src/lib/libc/include [netbsd-6]: namespace.h reentrant.h
        src/lib/libterminfo [netbsd-6]: Makefile.hash compile.c term.c
        src/share/man/man5 [netbsd-6]: rc.conf.5
        src/share/man/man7 [netbsd-6]: hier.7
        src/share/terminfo [netbsd-6]: Makefile
        src/tests/include [netbsd-6]: t_paths.c
        src/tests/lib/libcurses [netbsd-6]: Makefile
        src/tests/lib/libcurses/director [netbsd-6]: director.c
        src/tools/compat [netbsd-6]: Makefile compat_defs.h
        src/usr.bin/tic [netbsd-6]: Makefile tic.1 tic.c
        src/usr.sbin/dev_mkdb [netbsd-6]: Makefile dev_mkdb.8 dev_mkdb.c
Added Files:
        src/tools/compat [netbsd-6]: cdbr.h cdbw.h

Log Message:
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/ revision 1.3
        tests/lib/libcurses/director/director.c: revision 1.10
        lib/libc/include/reentrant.h: revision 1.15
        distrib/amd64/cdroms/ 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/ 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/ 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/ 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/ revision 1.16
        usr.bin/tic/tic.c: revision 1.20
        lib/libterminfo/ 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.

To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.95.2.1 src/bin/ps/ps.1
cvs rdiff -u -r1.6 -r1.6.4.1 src/distrib/amd64/cdroms/Makefile.cdrom
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/amd64/cdroms/
cvs rdiff -u -r1.1 -r1.1.2.1 src/distrib/amd64/installimage/
cvs rdiff -u -r1.26 -r1.26.4.1 src/distrib/i386/cdroms/Makefile.cdrom
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/i386/cdroms/
cvs rdiff -u -r1.1 -r1.1.2.1 src/distrib/i386/installimage/
cvs rdiff -u -r1.984.2.6 -r1.984.2.7 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.439.2.1 -r1.439.2.2 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.14 -r1.14.2.1 src/distrib/sparc64/cdroms/installcd/Makefile
cvs rdiff -u -r1.2 -r1.2.6.1 src/distrib/sparc64/cdroms/installcd/
cvs rdiff -u -r1.6 -r1.6.6.1 src/distrib/sparc64/instfs/dot.profile
cvs rdiff -u -r1.24 -r1.24.4.1 src/distrib/sparc64/instfs/list
cvs rdiff -u -r1.22.4.1 -r1.22.4.2 src/etc/rc.d/sysdb
cvs rdiff -u -r1.1 -r1.1.10.1 src/include/cdbw.h
cvs rdiff -u -r1.40 -r1.40.4.1 src/include/paths.h
cvs rdiff -u -r1.97.6.1 -r1.97.6.2 src/include/stdlib.h
cvs rdiff -u -r1.2 -r1.2.8.1 src/lib/libc/cdb/cdbr.c
cvs rdiff -u -r1.3 -r1.3.8.1 src/lib/libc/cdb/cdbw.3
cvs rdiff -u -r1.1 -r1.1.8.1 src/lib/libc/cdb/cdbw.c
cvs rdiff -u -r1.11 -r1.11.58.1 src/lib/libc/gen/devname.3
cvs rdiff -u -r1.21 -r1.21.8.1 src/lib/libc/gen/devname.c
cvs rdiff -u -r1.22 -r1.22.6.1 src/lib/libc/gen/ttyname.3
cvs rdiff -u -r1.24 -r1.24.22.1 src/lib/libc/gen/ttyname.c
cvs rdiff -u -r1.150 -r1.150.2.1 src/lib/libc/include/namespace.h
cvs rdiff -u -r1.14 -r1.14.10.1 src/lib/libc/include/reentrant.h
cvs rdiff -u -r1.4 -r1.4.4.1 src/lib/libterminfo/Makefile.hash
cvs rdiff -u -r1.6 -r1.6.2.1 src/lib/libterminfo/compile.c
cvs rdiff -u -r1.13 -r1.13.4.1 src/lib/libterminfo/term.c
cvs rdiff -u -r1.9 -r1.9.4.1 src/lib/libterminfo/term_private.h
cvs rdiff -u -r1.15 -r1.15.6.1 src/lib/libterminfo/
cvs rdiff -u -r1.151 -r1.151.2.1 src/share/man/man5/rc.conf.5
cvs rdiff -u -r1.99 -r1.99.6.1 src/share/man/man7/hier.7
cvs rdiff -u -r1.2 -r1.2.8.1 src/share/terminfo/Makefile
cvs rdiff -u -r1.11 -r1.11.2.1 src/tests/include/t_paths.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/tests/lib/libcurses/Makefile
cvs rdiff -u -r1.9 -r1.9.4.1 src/tests/lib/libcurses/director/director.c
cvs rdiff -u -r1.55.2.1 -r1.55.2.2 src/tools/compat/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/tools/compat/cdbr.h src/tools/compat/cdbw.h
cvs rdiff -u -r1.83 -r1.83.2.1 src/tools/compat/compat_defs.h
cvs rdiff -u -r1.1 -r1.1.8.1 src/usr.bin/tic/Makefile
cvs rdiff -u -r1.9 -r1.9.2.1 src/usr.bin/tic/tic.1
cvs rdiff -u -r1.12 -r1.12.2.1 src/usr.bin/tic/tic.c
cvs rdiff -u -r1.7 -r1.7.8.1 src/usr.sbin/dev_mkdb/Makefile
cvs rdiff -u -r1.11 -r1.11.8.1 src/usr.sbin/dev_mkdb/dev_mkdb.8
cvs rdiff -u -r1.28 -r1.28.4.1 src/usr.sbin/dev_mkdb/dev_mkdb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index