CVS commit: src/sys/arch/sparc/include

2016-05-30 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Mon May 30 09:05:32 UTC 2016

Modified Files:
src/sys/arch/sparc/include: sljit_machdep.h

Log Message:
Adapt to new sljit.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc/include/sljit_machdep.h

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



CVS commit: src/sys/external/bsd/sljit/dist/sljit_src

2016-05-30 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Mon May 30 09:34:39 UTC 2016

Modified Files:
src/sys/external/bsd/sljit/dist/sljit_src: sljitNativePPC_common.c

Log Message:
Reduce diff with mainstream.

In the new sljt version, ppc_cache_flush() is guarded by
SLJIT_CACHE_FLUSH_OWN_IMPL. We can keep is as long as we
don't define SLJIT_CACHE_FLUSH_OWN_IMPL.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/sys/external/bsd/sljit/dist/sljit_src/sljitNativePPC_common.c

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



CVS commit: src/sys/arch/sparc/stand/ofwboot

2016-05-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon May 30 10:37:14 UTC 2016

Modified Files:
src/sys/arch/sparc/stand/ofwboot: boot.c

Log Message:
David Binderman in PR port-sparc/51188: simplify while condition


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc/stand/ofwboot/boot.c

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



CVS commit: src/sys/kern

2016-05-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon May 30 11:24:40 UTC 2016

Modified Files:
src/sys/kern: subr_optstr.c

Log Message:
David Binderman in PR kern/51189: simplify loop conditions


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/subr_optstr.c

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



CVS commit: src/sys/arch/powerpc/oea

2016-05-30 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Mon May 30 13:04:24 UTC 2016

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
allocate cpuset structures needed by MP DDB.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/powerpc/oea/oea_machdep.c

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



CVS commit: src/sys/rump/dev/lib/librnd

2016-05-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon May 30 14:52:06 UTC 2016

Modified Files:
src/sys/rump/dev/lib/librnd: rnd_component.c

Log Message:
Disable PR kern/51135 hack now that the problem is supposedly
fixed (to see if tests pass).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/rump/dev/lib/librnd/rnd_component.c

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



CVS commit: src/usr.bin/error

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 16:26:34 UTC 2016

Modified Files:
src/usr.bin/error: filter.c

Log Message:
Use rewind() instead of freopen()'ing the same file for no reason. Also,
close the file when done instead of dropping it on the floor. Obsoletes
PR 50579.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/error/filter.c

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



CVS commit: src/usr.bin/error

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 16:35:35 UTC 2016

Modified Files:
src/usr.bin/error: filter.c

Log Message:
Use this program's Strdup() instead of strdup() so it exits on failure
instead of dumping core.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/error/filter.c

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



CVS commit: src/sys/arch/arm/samsung

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 16:38:35 UTC 2016

Modified Files:
src/sys/arch/arm/samsung: exynos_dwcmmc.c

Log Message:
bus_width is not used, so don't fetch it; but do leave the logic in place
commented out so it's there if anyone wants it in the future.
PR 50594 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_dwcmmc.c

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



CVS commit: src/usr.sbin/sysinst

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:00:38 UTC 2016

Modified Files:
src/usr.sbin/sysinst: partman.c

Log Message:
#if out some unreachable code that's apparently not yet supported.
PR 50886 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/partman.c

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



CVS commit: src/usr.sbin/sysinst

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:03:21 UTC 2016

Modified Files:
src/usr.sbin/sysinst: partman.c

Log Message:
Explicitly ignore errors in the hack for mucking with wedges; mark it XXX
for future attention. Other part of PR 50886 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/partman.c

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



CVS commit: src/sys/arch/hpc/stand/hpcboot/arm

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:11:56 UTC 2016

Modified Files:
src/sys/arch/hpc/stand/hpcboot/arm: arm_console.cpp

Log Message:
PR 50643 David Binderman: fix conditional order


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hpc/stand/hpcboot/arm/arm_console.cpp

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



CVS commit: src/sys/arch/arm/arm

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:18:38 UTC 2016

Modified Files:
src/sys/arch/arm/arm: cpufunc.c

Log Message:
PR 50669 David Binderman: remove dead code


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/arch/arm/arm/cpufunc.c

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



CVS commit: src/dist/pf/sbin/pfctl

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:21:07 UTC 2016

Modified Files:
src/dist/pf/sbin/pfctl: pfctl_optimize.c

Log Message:
PR 50709 David Binderman: memory leak


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/dist/pf/sbin/pfctl/pfctl_optimize.c

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



CVS commit: src/bin/ls

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:26:29 UTC 2016

Modified Files:
src/bin/ls: ls.c

Log Message:
PR 50997 David Binderman: fix format strings


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/bin/ls/ls.c

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



CVS commit: src/bin/pax

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:34:36 UTC 2016

Modified Files:
src/bin/pax: dumptar.c

Log Message:
Remove undefined behavior in buf(); use buf() as intended in intarg().
While here also add includes to fix the build. Retires PR 50999 from
David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/bin/pax/dumptar.c

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



CVS commit: src/sys/arch/evbarm/imx7

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:43:46 UTC 2016

Modified Files:
src/sys/arch/evbarm/imx7: imx7_machdep.c

Log Message:
If MEMSIZE isn't set, #error instead of proceeding using uninitialized
stack garbage as the memory size. Please improve as needed; I don't know
anything about this hardware.

PR 51150 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/imx7/imx7_machdep.c

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



CVS commit: src/sys/arch/i386/i386

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:45:26 UTC 2016

Modified Files:
src/sys/arch/i386/i386: multiboot.c

Log Message:
PR 51187 David Binderman: simplify redundant conditional


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/i386/multiboot.c

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



CVS commit: src/lib/libform

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May 30 17:48:29 UTC 2016

Modified Files:
src/lib/libform: type_numeric.c

Log Message:
PR 51190 David Binderman: simplify redundant conditionals.
Also add paranoia when looping on isdigit().


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libform/type_numeric.c

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



CVS commit: src/external/gpl2/xcvs/dist/src

2016-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 30 17:49:51 UTC 2016

Modified Files:
src/external/gpl2/xcvs/dist/src: import.c subr.c

Log Message:
Make sure that all messages end in '\n' in make_message_rcsvalid() and
compensate for it in add_rcs_file().


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl2/xcvs/dist/src/import.c
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/subr.c

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



CVS commit: src/usr.sbin/makemandb

2016-05-30 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon May 30 19:35:29 UTC 2016

Modified Files:
src/usr.sbin/makemandb: stopwords.txt

Log Message:
Add 'a' to the stopwords list. Ok from christos


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/makemandb/stopwords.txt

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



CVS commit: src/sbin/iscsid

2016-05-30 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon May 30 21:58:32 UTC 2016

Modified Files:
src/sbin/iscsid: iscsid_main.c

Log Message:
mark noreturn function exit_daemon() as __dead


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sbin/iscsid/iscsid_main.c

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



CVS commit: src/sbin/iscsid

2016-05-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 30 22:02:41 UTC 2016

Modified Files:
src/sbin/iscsid: iscsid_globals.h

Log Message:
Add printf-like annotation.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sbin/iscsid/iscsid_globals.h

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



CVS commit: src/sys/arch/i386/i386

2016-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 30 22:58:52 UTC 2016

Modified Files:
src/sys/arch/i386/i386: cpu_in_cksum.S

Log Message:
Handle PIC linking for tests


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/i386/cpu_in_cksum.S

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



CVS commit: othersrc/external/bsd/delta/bin

2016-05-30 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Tue May 31 01:59:47 UTC 2016

Added Files:
othersrc/external/bsd/delta/bin: Testspec

Log Message:
Convert the tests in the Makefile to atf, by means of human2atf, and add
the resulting Testspec file. Results of running atf checks:

[18:57:43] agc@netbsd-002 ...tests/usr.bin/delta [3390] > sudo make test
*** WARNING: make test is experimental
***
*** Using this test does not preclude you from running the tests
*** installed in /usr/tests.  This test run may raise false
*** positives and/or false negatives.

Tests root: /usr/tests/usr.bin/delta

t_delta (1/1): 3 test cases
delta_testset_1_basics: [0.027398s] Passed.
delta_testset_2_backwards: [0.029421s] Passed.
delta_testset_3_more_extensive_changes: [0.027521s] Passed.
[0.089274s]

Summary for 1 test programs:
3 passed test cases.
0 failed test cases.
0 expected failed test cases.
0 skipped test cases.

*** The verbatim output of atf-run has been saved to 
/usr/tests/usr.bin/delta/atf-run.log
*** Once again, note that make test is unsupported.
[18:57:46] agc@netbsd-002 ...tests/usr.bin/delta [3391] >


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/delta/bin/Testspec

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



CVS commit: othersrc/external/bsd/luhn/bin

2016-05-30 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Tue May 31 02:10:00 UTC 2016

Added Files:
othersrc/external/bsd/luhn/bin: 1.expected Testspec

Log Message:
Add test for luhn library and utility, derived from the existing tests in the
Makefile using human2atf. Not very extensive, but gives a basic functionality
check. Results of running the tests:

[19:06:50] agc@netbsd-002 ...tests/usr.bin/luhn [3437] > sudo make test
*** WARNING: make test is experimental
***
*** Using this test does not preclude you from running the tests
*** installed in /usr/tests.  This test run may raise false
*** positives and/or false negatives.

Tests root: /usr/tests/usr.bin/luhn

t_luhn (1/1): 1 test cases
luhn_testset_1_basic: [0.030007s] Passed.
[0.030780s]

Summary for 1 test programs:
1 passed test cases.
0 failed test cases.
0 expected failed test cases.
0 skipped test cases.

*** The verbatim output of atf-run has been saved to 
/usr/tests/usr.bin/luhn/atf-run.log
*** Once again, note that make test is unsupported.
[19:06:54] agc@netbsd-002 ...tests/usr.bin/luhn [3438]


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/luhn/bin/1.expected \
othersrc/external/bsd/luhn/bin/Testspec

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



CVS commit: src/sys/arch/macppc/dev

2016-05-30 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue May 31 02:17:18 UTC 2016

Modified Files:
src/sys/arch/macppc/dev: pmu.c

Log Message:
make sure we call sysmon_pswitch_event() from thread context


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/macppc/dev/pmu.c

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



CVS commit: src/sys/arch/arm/omap

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 02:26:00 UTC 2016

Modified Files:
src/sys/arch/arm/omap: omap2430_intr.c

Log Message:
PR 50755 David Binderman: assert about table entries only when they exist.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/omap/omap2430_intr.c

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



CVS commit: src/sbin/gpt

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 02:29:54 UTC 2016

Modified Files:
src/sbin/gpt: show.c

Log Message:
PR 50756 David Binderman: avoid running off the end of an array in case
thing we're looking for isn't there. Which is probably impossible, but
that's not obvious.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sbin/gpt/show.c

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



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 02:35:49 UTC 2016

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Install man-link from fonts-conf.5 --> fonts.conf.5 to deal with an
erroneous cross-ref in xclock's man-page.  suggested by wiz@.

Fixes PR xsrc/49777


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/lib/fontconfig/src/Makefile

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



CVS commit: src/distrib/sets/lists/xbase

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 02:37:16 UTC 2016

Modified Files:
src/distrib/sets/lists/xbase: mi

Log Message:
Add entries for fonts.conf.{0,5,html}

Finishes PR xsrc/49777


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/distrib/sets/lists/xbase/mi

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



CVS commit: src/usr.sbin/sysinst/arch/mac68k

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 02:49:50 UTC 2016

Modified Files:
src/usr.sbin/sysinst/arch/mac68k: md.c

Log Message:
Disable the code that tries to prepare a new partition table (but doesn't
do anything with it...) because it's zooming off the end of the array it's
trying to use.

It looks to me as if NEW_MAP_SIZE has been accidentally used as both
the number of blocks occupied by the new partition table and also the
number of entries in it. Or something. This needs platform knowledge
to sort out. XXX.

Workaround for PR 50757.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/mac68k/md.c

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



CVS commit: src/sys/arch/x68k/dev

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:12:49 UTC 2016

Modified Files:
src/sys/arch/x68k/dev: intio.c

Log Message:
fix flagrantly wrong indent


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x68k/dev/intio.c

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



CVS commit: src/sys/arch/x68k/dev

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:22:30 UTC 2016

Modified Files:
src/sys/arch/x68k/dev: zs.c

Log Message:
PR 50759 David Binderman: fix out of bounds array access.

If we don't find one of the expected device addresses, reject the
match, but do it by checking whether the loop matched something rather
than by testing an array entry that might be one past the end.

Note: I have also moved the test to be with the loop; since the call
to intio_map_allocate_region had gotten placed in between them, I've
moved it to go before rather than after them as (a) it doesn't
interact with the loop itself and (b) this seems like the best choice
given the history as it was deliberately added before the original
test.

I have not tried running this, not having an x68k, but as best I can
tell by reading the intio code it seems like it should be harmless
even if it's not really correct.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/x68k/dev/zs.c

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



CVS commit: src/sys/arch/mvme68k/mvme68k

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:25:46 UTC 2016

Modified Files:
src/sys/arch/mvme68k/mvme68k: machdep.c

Log Message:
PR 50792 David Binderman: make sure we don't divide by zero.

The loop that picks delay_divisor might conceivably reject all values,
particularly if the hardware is sulking for some reason; in that case
it'll be left zero. Use 1 instead of 0 so we don't then crash.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/arch/mvme68k/mvme68k/machdep.c

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



CVS commit: src/bin/pax

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:32:36 UTC 2016

Modified Files:
src/bin/pax: ar_io.c

Log Message:
Don't use the length return from snprintf to write out the result
buffer. If snprintf truncated the output, the length returned will be
greater and we'll write trash. Just call strlen instead. (And since
what we're doing is writing progress messages to the user, checking
carefully for truncation isn't really worthwhile either.)

Spotted when attending to PR 50998 from David Binderman; the issue
there (computation of an unused value) popped up because one of the
prints was already calling strlen.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/bin/pax/ar_io.c

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



CVS commit: src/lib/libc/citrus/modules

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:34:14 UTC 2016

Modified Files:
src/lib/libc/citrus/modules: citrus_johab.c

Log Message:
PR 51000 David Binderman: comment out unused assignment


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/citrus/modules/citrus_johab.c

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



CVS commit: src/lib/libc/gen

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:43:10 UTC 2016

Modified Files:
src/lib/libc/gen: getnetgrent.c

Log Message:
PR 51002 David Binderman: fix wrong printing code not enabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/gen/getnetgrent.c

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



CVS commit: src/lib/libc/time

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:47:49 UTC 2016

Modified Files:
src/lib/libc/time: zic.c

Log Message:
PR 51003 David Binderman: bzero struct before passing it around.

This is actually unnecessary as the call in question uses only fields
that have been set explicitly, but good practice regardless and it's
not like it's on a performance-critical path.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/time/zic.c

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



CVS commit: src/sys/arch/macppc/dev

2016-05-30 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue May 31 03:50:30 UTC 2016

Modified Files:
src/sys/arch/macppc/dev: pmu.c

Log Message:
fix stupid tpyo
thanks chuq


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/macppc/dev/pmu.c

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



CVS commit: src/sys/arch/algor/dev

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:51:55 UTC 2016

Modified Files:
src/sys/arch/algor/dev: bonito_mainbus.c

Log Message:
If ALGOR_P6032 is not defined, set sc_bonito to NULL instead of using
random garbage off the stack. PR 51012 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/algor/dev/bonito_mainbus.c

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



CVS commit: src/sys/net

2016-05-30 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue May 31 03:52:40 UTC 2016

Modified Files:
src/sys/net: if_gif.c if_gif.h

Log Message:
modify some functions static. no functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_gif.c
cvs rdiff -u -r1.22 -r1.23 src/sys/net/if_gif.h

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



CVS commit: src/sys/kern

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 03:57:04 UTC 2016

Modified Files:
src/sys/kern: subr_kobj.c

Log Message:
Compare names of duplicate symbols properly, so we correctly return
an error status.

Fixes PR kern/45125 with patch supplied by Akinobu  Mita


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/kern/subr_kobj.c

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



CVS commit: src/sys/net

2016-05-30 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue May 31 04:05:01 UTC 2016

Modified Files:
src/sys/net: if.c

Log Message:
Optimize if_get_byindex by adding __predict_true


To generate a diff of this commit:
cvs rdiff -u -r1.336 -r1.337 src/sys/net/if.c

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



CVS commit: src/sys/arch/landisk/stand/boot

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 04:05:50 UTC 2016

Modified Files:
src/sys/arch/landisk/stand/boot: boot2.c

Log Message:
PR 51193 David Binderman: simplify redundant conditional.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/landisk/stand/boot/boot2.c

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



CVS commit: src/sys/arch/x68k/stand/libsa

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 04:12:10 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/libsa: parseutils.c

Log Message:
PR 51194 David Binderman: simplify redundant conditional


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/libsa/parseutils.c

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



CVS commit: src/sys/arch/zaurus/stand/zboot

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 04:13:26 UTC 2016

Modified Files:
src/sys/arch/zaurus/stand/zboot: boot.c

Log Message:
PR 51195 David Binderman: simplify redundant conditional.

XXX: there are too many copies of this function floating around ("gettrailer")


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/zaurus/stand/zboot/boot.c

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



CVS commit: src/sys/arch/zaurus/zaurus

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 04:14:12 UTC 2016

Modified Files:
src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/zaurus/zaurus/machdep.c

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



CVS commit: src

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 05:44:19 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7
src/sys/kern: init_sysctl.c

Log Message:
Add a new kern.messages sysctl to allow kernel message verbosity to be
altered after boot.

Fixes PR kern/46539 using patch submitted by Nat Sloss.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/share/man/man7/sysctl.7
cvs rdiff -u -r1.210 -r1.211 src/sys/kern/init_sysctl.c

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



CVS commit: src/share/man/man3

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 06:00:39 UTC 2016

Modified Files:
src/share/man/man3: queue.3

Log Message:
Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
entries before existing entries.  This can only be done for LISTs and
TAILQs.

Fixes PR kern/50845


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/share/man/man3/queue.3

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



CVS commit: src/usr.bin/xinstall

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 06:55:02 UTC 2016

Modified Files:
src/usr.bin/xinstall: xinstall.c

Log Message:
Move __MKTEMP_OK up earlier so it has an actual impact.  Reduces the
number of warnings during build.

XXX There are still some other warnings remaining to be resolved.

Fixes PR bin/48195 although we really should go back someday and fix
this correctly (by replacing all uses of mktemp(3)!)


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/usr.bin/xinstall/xinstall.c

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