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

2014-10-11 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Oct 11 13:34:01 UTC 2014

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

Log Message:
When checking if the user chose to use the existing bootblocks, use
the appropriate variable, boottype.bp_consdev, not the uninitialized
bp.bp_consdev.  Also remove bp and bootxx since their only use was in
the incorrect check.  This should fix the problem of sysinst segfaulting
when you choose "Use existing bootblocks" on amd64.


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

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



CVS commit: src/tests/lib/libc/gen

2015-01-03 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jan  3 14:21:05 UTC 2015

Modified Files:
src/tests/lib/libc/gen: isqemu.h

Log Message:
Need stdlib.h for EXIT_FAILURE


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/isqemu.h

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



CVS commit: src/tests/lib/libm

2015-01-03 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jan  3 14:23:53 UTC 2015

Modified Files:
src/tests/lib/libm: Makefile t_fmod.c

Log Message:
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/tests/lib/libm/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libm/t_fmod.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

2015-01-05 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan  5 18:51:10 UTC 2015

Modified Files:
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Test for ${MKDEBUG} using the same construct as in other places, so that
we get consistent behavior when the value is neither "no" nor "yes".


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/gallium/Makefile

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



CVS commit: src/usr.bin/progress

2015-01-17 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jan 17 10:57:51 UTC 2015

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

Log Message:
Retry read() on EINTR.  Fixes premature exit of
/dev/null


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/progress/progress.c

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



CVS commit: src/external/bsd/atf/dist

2015-01-22 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Jan 22 12:33:36 UTC 2015

Modified Files:
src/external/bsd/atf/dist/atf-c: macros_test.c
src/external/bsd/atf/dist/atf-c++: macros_test.cpp

Log Message:
Mark atf/atf-c/macros_test/detect_unused_tests and
atf/atf-c++/macros_test/detect_unused_tests as expected failures
when using versions of GCC where they are known to fail, with a
reference to PR toolchain/49187.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/atf/dist/atf-c/macros_test.c
cvs rdiff -u -r1.1.1.8 -r1.2 \
src/external/bsd/atf/dist/atf-c++/macros_test.cpp

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 09:25:09 UTC 2015

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Include opt_usb.h so that "options UAUDIO_DEBUG" works.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/dev/usb/uaudio.c

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 09:58:10 UTC 2015

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Silicon Labs EC3 USB debug adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.687 -r1.688 src/sys/dev/usb/usbdevs

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 10:53:21 UTC 2015

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.679 -r1.680 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.680 -r1.681 src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 11:05:21 UTC 2015

Modified Files:
src/sys/dev/usb: usb_quirks.c

Log Message:
The Silicon Labs EC3 USB Debug Adapter looks like a HID, but needs to
be accessed via the ugen driver.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/usb_quirks.c

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:32:18 UTC 2015

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
When dumping iot[] contents to the console for debugging, don't crash
if iot[i].output is NULL for some i.  Share code with the dumping of
iot[i].inputs[], which already handled NULLs.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/dev/usb/uaudio.c

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:37:44 UTC 2015

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Don't crash with a division by zero if a bControlSize field is 0.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/dev/usb/uaudio.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/man4

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:41:49 UTC 2015

Modified Files:
src/share/man/man4: uaudio.4

Log Message:
Fix URL of USB Approved Class Specification Documents.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/uaudio.4

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



CVS commit: src/share/man/man4

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:53:49 UTC 2015

Modified Files:
src/share/man/man4: uaudio.4

Log Message:
bump date


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/man/man4/uaudio.4

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



CVS commit: src/share/man/man4

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:53:12 UTC 2015

Modified Files:
src/share/man/man4: uaudio.4

Log Message:
Note that revision 2.0 of the audio device class spec is not supported.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/share/man/man4/uaudio.4

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



CVS commit: src/sys/dev/usb

2015-01-26 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 26 20:56:44 UTC 2015

Modified Files:
src/sys/dev/usb: uaudio.c

Log Message:
Fix URLs of USB audio specs


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/dev/usb/uaudio.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

2015-05-01 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri May  1 13:48:05 UTC 2015

Modified Files:
src/usr.sbin/sysinst: msg.mi.en

Log Message:
Shorten the message "System configuration files (/etc)" to just
"Configuration files (/etc)" so that it doesn't overflow into the
"Selected" column, overwriting the "Yes" or "No" so that there is
no way to know if the set is selected or not.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/msg.mi.en

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



CVS commit: src/usr.bin/tip

2015-06-11 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Jun 11 18:12:00 UTC 2015

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

Log Message:
Don't call exit() from a signal handler, as it's not async-signal-safe;
use _exit() instead.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.bin/tip/tip.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

2015-06-12 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Jun 12 17:28:53 UTC 2015

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

Log Message:
When closing a tty, limit the amount of time spent waiting for the
output to drain to five seconds so that exiting processes with
buffered output for a serial port blocked by flow control do not
hang indefinitely.  Should fix PR kern/12534.  OK christos.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/kern/tty.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

2015-06-14 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Jun 14 16:19:31 UTC 2015

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

Log Message:
Revert previous; it broke the lib/libc/ttyio/t_ttyio/ioctl test case.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/sys/kern/tty.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/libpud

2012-03-11 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Mar 11 13:14:04 UTC 2012

Modified Files:
src/sys/rump/dev/lib/libpud: component.c

Log Message:
Fix obvious cut-and-paste-o in error message string


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libpud/component.c

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



CVS commit: src/sys/netinet

2012-03-15 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Mar 15 13:25:46 UTC 2012

Modified Files:
src/sys/netinet: rfc6056.c

Log Message:
Fix random kernel memory corruption by algo_doublehash().  And by
"random" I don't mean just "arbitary" as in using an uninitialized
pointer, but random as in corrupting the contents of memory addresses
chosen using a crypto-strength random number generator.

I believe this is the likely cause of multiple reports of random
crashes over the last six months, including kern/45677 and kern/46096.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/rfc6056.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/installboot/arch

2012-04-06 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Apr  6 10:10:11 UTC 2012

Modified Files:
src/usr.sbin/installboot/arch: i386.c

Log Message:
When printing the list of valid console names, don't treat the consoles[]
array as NULL terminated, because it's not.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/installboot/arch/i386.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

2012-04-10 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Apr 10 13:45:08 UTC 2012

Modified Files:
src/sys/rump/dev/lib/libdrvctl: component.c
src/sys/rump/dev/lib/libmd: component.c

Log Message:
Fix cut-and-paste-os in panic messages


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libdrvctl/component.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/lib/libmd/component.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

2012-05-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue May  8 08:44:49 UTC 2012

Modified Files:
src/sys/kern: vfs_mount.c vfs_syscalls.c

Log Message:
Move VFS_EXTATTRCTL to mount_domount().  This makes the
fs/puffs/t_fuzz:mountfuzz7, fs/puffs/t_fuzz:mountfuzz8,
and fs/zfs/t_zpool:create tests pass again.  Patch from
manu, discussed on tech-kern and committed at his request.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.455 -r1.456 src/sys/kern/vfs_syscalls.c

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



CVS commit: src/sys/dev/pci

2012-08-12 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Aug 12 18:39:32 UTC 2012

Modified Files:
src/sys/dev/pci: eso.c

Log Message:
Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg.  Fixes PR kern/46791.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/eso.c

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



CVS commit: src/tests/share/mk

2012-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Aug 28 15:22:18 UTC 2012

Modified Files:
src/tests/share/mk: t_prog.sh

Log Message:
Skip test requiring /usr/bin/mandoc if it does not exist, as is the case
when text.tgz has not been installed.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/share/mk/t_prog.sh

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



CVS commit: src/sys/dev/pci

2012-09-24 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep 25 06:26:53 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Lava Computers SSERIAL-PCI single serial port adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.1137 -r1.1138 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2012-09-24 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep 25 06:29:29 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1130 -r1.1131 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1129 -r1.1130 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: src/sys/dev/pci

2012-09-24 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep 25 06:31:44 UTC 2012

Modified Files:
src/sys/dev/pci: pucdata.c

Log Message:
Add Lava Computers SSERIAL-PCI single port serial PCI card.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/pci/pucdata.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/man4

2012-10-07 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Oct  7 17:00:20 UTC 2012

Modified Files:
src/share/man/man4: puc.4

Log Message:
Add Lava Computers SSERIAL-PCI to the list of supported devices.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man4/puc.4

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



CVS commit: src/distrib/utils/sysinst

2013-03-23 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Mar 23 15:36:43 UTC 2013

Modified Files:
src/distrib/utils/sysinst: msg.mi.en

Log Message:
Fix some nits in the English messages for the recently added debug
sets: rename the "Source sets" group to "Source and debug sets" to
better reflect its current content, describe the indivdual sets as
containing as "debug symbols" instead of "debug sets", and capitalize
them to be consistent with the messages for other sets.


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/distrib/utils/sysinst/msg.mi.en

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



CVS commit: src/distrib/utils/sysinst

2013-03-23 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Mar 23 15:53:49 UTC 2013

Modified Files:
src/distrib/utils/sysinst: msg.mi.de msg.mi.es msg.mi.fr msg.mi.pl

Log Message:
Sync non-English messages with the changes of msg.mi.en 1.179 to the
best of my ability.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/distrib/utils/sysinst/msg.mi.de
cvs rdiff -u -r1.50 -r1.51 src/distrib/utils/sysinst/msg.mi.es
cvs rdiff -u -r1.132 -r1.133 src/distrib/utils/sysinst/msg.mi.fr
cvs rdiff -u -r1.89 -r1.90 src/distrib/utils/sysinst/msg.mi.pl

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



CVS commit: src/tests/fs/nfs

2014-03-13 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Mar 13 12:45:14 UTC 2014

Modified Files:
src/tests/fs/nfs: t_rquotad.sh

Log Message:
Add -lrumpnet_netinet6 to the rump_server invocation, to stop
rpc.rquotad from printing the error message "rpc.rquotad:
_svc_tli_create: could not open connection for udp6: Address family
not supported by protocol family".  The error message currently ends
up in /dev/null because it is printed to stderr after calling daemon()
with noclose=0, but if the daemonization is moved to a later point to
fix the race condition of PR misc/48282, it will actually appear on
stderr and break the test, which is expecting stderr to be empty.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/nfs/t_rquotad.sh

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



CVS commit: src/libexec/rpc.rquotad

2014-03-18 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Mar 18 11:00:20 UTC 2014

Modified Files:
src/libexec/rpc.rquotad: rquotad.c

Log Message:
Delay daemonization until RPC services have been registered.
Fixes one of the race conditions of PR misc/48282.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/libexec/rpc.rquotad/rquotad.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/nfsd

2014-03-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Mar 29 13:50:53 UTC 2014

Modified Files:
src/usr.sbin/nfsd: nfsd.c

Log Message:
When daemonizing, delay the parent exit until the daemon is
ready to provide service.  Fixes one of the race conditions
of PR misc/48282.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.sbin/nfsd/nfsd.c

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



CVS commit: src/tests/lib/libc/net

2014-03-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Mar 29 16:10:54 UTC 2014

Modified Files:
src/tests/lib/libc/net: h_dns_server.c

Log Message:
Use daemon(3) instead of the experimental daemon2_fork() and
daemon2_detach().  Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/net/h_dns_server.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/mountd

2014-04-04 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Apr  4 12:45:59 UTC 2014

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
When daemonizing, delay the parent exit until the daemon is ready to
provide service.  Fixes a race that is a third possible cause of
PR misc/48282, in addition to the ones in rpc.rquotad and nfsd that
were fixed earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/usr.sbin/mountd/mountd.c

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



CVS commit: src/share/misc

2014-05-06 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue May  6 10:16:52 UTC 2014

Modified Files:
src/share/misc: inter.phone

Log Message:
Add country codes for Lithuania, Latvia, and Estonia


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/misc/inter.phone

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



CVS commit: src/tests/lib/libc/gen

2014-07-15 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jul 15 14:56:35 UTC 2014

Modified Files:
src/tests/lib/libc/gen: t_sleep.c

Log Message:
space after comma


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/gen/t_sleep.c

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



CVS commit: src/lib/librumphijack

2014-07-19 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jul 19 14:14:21 UTC 2014

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Do not assert that the two threads do not simultanously notify each
other, because sometimes they do.  Should fix PR kern/46464.  OK pooka.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/lib/librumphijack/hijack.c

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



CVS commit: src/lib/librumphijack

2014-07-21 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jul 21 14:23:43 UTC 2014

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Ignore the contents of revents when poll() returns failure.
This is one more part to the fix for PR kern/46464.  Patch
from pooka.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/lib/librumphijack/hijack.c

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



CVS commit: src/tests/fs/vfs

2014-07-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jul 29 09:15:48 UTC 2014

Modified Files:
src/tests/fs/vfs: t_renamerace.c

Log Message:
Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/tests/fs/vfs/t_renamerace.c

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



CVS commit: src/sys/fs/sysvbfs

2014-08-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Aug  8 19:14:45 UTC 2014

Modified Files:
src/sys/fs/sysvbfs: sysvbfs_vnops.c

Log Message:
Whitespace fix


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/fs/sysvbfs/sysvbfs_vnops.c

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



CVS commit: src/sys/fs/v7fs

2014-08-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Aug  8 19:15:33 UTC 2014

Modified Files:
src/sys/fs/v7fs: v7fs_vnops.c

Log Message:
Whitespace fix


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/v7fs/v7fs_vnops.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/make

2014-08-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Aug  8 19:20:39 UTC 2014

Modified Files:
src/usr.bin/make: main.c

Log Message:
Fix comment: Error, Fatal, and Punt take any number of arguments, not two.


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/usr.bin/make/main.c

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



CVS commit: src

2014-08-09 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Aug  9 07:04:03 UTC 2014

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/kernel: Makefile
Added Files:
src/tests/kernel: t_sysctl.c

Log Message:
Test that reading a CTLTYPE_INT sysctl variable into a buffer that is
too small returns ENOMEM, and that reading it into a buffer that is
large enough returns the expected sizeof(int) bytes of data.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.583 -r1.584 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.34 -r1.35 src/tests/kernel/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/kernel/t_sysctl.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

2014-08-09 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Aug  9 07:05:42 UTC 2014

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

Log Message:
Remove the code to allow CTLTYPE_INT and CTLTYPE_QUAD to be read and
written as either 4 or 8 byte values regardless of the type, in
accordance with "Core statement on sysctl 32-bit/64-bit changes",
http://mail-index.netbsd.org/tech-kern/2014/03/26/msg016779.html.


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/sys/kern/kern_sysctl.c

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



CVS commit: src/tests/fs/vfs

2014-08-12 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Aug 12 12:13:09 UTC 2014

Modified Files:
src/tests/fs/vfs: t_vnops.c

Log Message:
Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/tests/fs/vfs/t_vnops.c

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



CVS commit: src/tests/lib/librumphijack

2014-08-27 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Aug 27 13:32:16 UTC 2014

Modified Files:
src/tests/lib/librumphijack: t_asyncio.sh

Log Message:
The 4 second timeout of the invafd test case is not always enough when
running under qemu; increase it to 10 seconds.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/librumphijack/t_asyncio.sh

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



CVS commit: src/tests/fs/vfs

2014-08-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Aug 29 17:39:18 UTC 2014

Modified Files:
src/tests/fs/vfs: t_unpriv.c

Log Message:
Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes().  Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future.  Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/vfs/t_unpriv.c

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



CVS commit: src/tests/rump/rumpkern

2014-08-30 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Aug 30 12:14:17 UTC 2014

Modified Files:
src/tests/rump/rumpkern: t_sp.sh

Log Message:
On systems that have only 32M of memory, the stress_short and
stress_long tests thrash a lot, and the stress_long test sometimes
times out, so skip them if we don't have at least 64M.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/rump/rumpkern/t_sp.sh

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



CVS commit: src/tests/net/mpls

2014-08-31 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Sep  1 06:38:35 UTC 2014

Modified Files:
src/tests/net/mpls: t_ldp_regen.sh

Log Message:
The t_ldp_regen test frequently fails under qemu, but reliably passes
on real hardware.  The failures are hardly surprising given that qemu
timing is off by a is off by a factor of two as reported in
PR kern/43997.  Disabling the test on qemu for now; it should be
re-enabled once 43997 has been fixed to see if it still fails then.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/net/mpls/t_ldp_regen.sh

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



CVS commit: src/tests/lib/libpthread

2014-09-03 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Sep  3 16:23:25 UTC 2014

Modified Files:
src/tests/lib/libpthread: t_cond.c

Log Message:
The cond_timedwait_race test case is no longer expected to fail; it
has been consistently passing since CVS date 2014.01.31.19.22.00.
See also PR lib/44756.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libpthread/t_cond.c

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



CVS commit: src/tests/fs/vfs

2014-09-07 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Sep  7 09:10:09 UTC 2014

Modified Files:
src/tests/fs/vfs: t_vnops.c

Log Message:
Add a test of symlinks with long targets.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/tests/fs/vfs/t_vnops.c

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



CVS commit: src/sys/fs/tmpfs

2014-09-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Sep  8 14:49:47 UTC 2014

Modified Files:
src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vnops.c

Log Message:
Store symlinks without a NUL terminator so that lstat(2) returns the
correct length.  Fixes the tmpfs part of PR kern/48864.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.120 -r1.121 src/sys/fs/tmpfs/tmpfs_vnops.c

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



CVS commit: src/tests/fs/vfs

2014-09-08 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep  9 06:51:01 UTC 2014

Modified Files:
src/tests/fs/vfs: t_vnops.c

Log Message:
Mark v7fs_lstat_symlink as an expected failure, referencing PR kern/48864.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/tests/fs/vfs/t_vnops.c

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



CVS commit: src/sys/dev/usb

2014-09-20 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Sep 20 08:45:23 UTC 2014

Modified Files:
src/sys/dev/usb: ugen.c

Log Message:
Include opt_usb.h to make "options UGEN_DEBUG" work.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/dev/usb/ugen.c

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



CVS commit: src/tests/lib/libm

2014-10-07 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Oct  7 16:53:44 UTC 2014

Modified Files:
src/tests/lib/libm: t_exp.c

Log Message:
In the exp2_values test case, provide separate expected return values
for the float case, reflecting the actual exp2f() argument value after
rounding to float precision.  Fixes PR lib/49256.  Thanks to Makoto
Kamada and Tetsuya Isaki for the analysis.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_exp.c

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



CVS commit: src/bin/date

2010-10-02 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Oct  2 08:26:09 UTC 2010

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

Log Message:
putenv() no longer accepts a const string


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/bin/date/date.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/rsh

2010-10-02 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Oct  2 09:24:16 UTC 2010

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

Log Message:
putenv() no longer accepts a const string


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/rsh/rsh.c

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



CVS commit: src/bin/date

2010-10-03 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Oct  3 08:21:28 UTC 2010

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

Log Message:
Simplify by using setenv() instead of putenv().


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/bin/date/date.c

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



CVS commit: src/tests/lib/librumpclient

2011-08-15 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Aug 15 15:19:09 UTC 2011

Modified Files:
src/tests/lib/librumpclient: t_fd.c

Log Message:
As the sigio test case is currently failing with "sigcnt != 1", print the
actual sigcnt value to aid in diagnosing the problem.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/librumpclient/t_fd.c

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



CVS commit: src/sbin/fdisk

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Aug 28 15:46:26 UTC 2011

Modified Files:
src/sbin/fdisk: fdisk.c

Log Message:
fix the sparc build


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sbin/fdisk/fdisk.c

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



CVS commit: src/tests/util/df

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Aug 28 19:09:34 UTC 2011

Modified Files:
src/tests/util/df: t_df.sh

Log Message:
Golden output was not so golden after all


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/util/df/t_df.sh

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



CVS commit: src/tests/util/df

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Aug 29 04:55:58 UTC 2011

Modified Files:
src/tests/util/df: t_df.sh

Log Message:
Fix remaining misaligned columns in golden output, missed in previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/util/df/t_df.sh

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



CVS commit: src/bin/df

2011-08-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Aug 29 17:30:28 UTC 2011

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

Log Message:
Use the same column spacing for the -h output as with the normal output,
as the same header line format is used in both cases and it can't line
up correctly with both of them otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/bin/df/df.c

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



CVS commit: src/tests/util/df

2011-08-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Aug 29 17:31:41 UTC 2011

Modified Files:
src/tests/util/df: t_df.sh

Log Message:
Track spacing changes of df.c 1.89


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/util/df/t_df.sh

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



CVS commit: src/usr.sbin/moused

2011-08-31 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Aug 31 07:17:44 UTC 2011

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
Fix format string to unbreak i386 build


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/moused/moused.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/moused

2011-08-31 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Aug 31 08:15:08 UTC 2011

Modified Files:
src/usr.sbin/moused: moused.c

Log Message:
Yet another format string fix


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/moused/moused.c

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



CVS commit: src/tests/dev/raidframe

2011-10-15 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Oct 15 11:31:41 UTC 2011

Modified Files:
src/tests/dev/raidframe: t_raid.sh

Log Message:
Fix cut-and-paste-o that casused the raid1_normal test case to have no
cleanup function defined, resulting in a rump_server process hanging
around after the tests completed.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/dev/raidframe/t_raid.sh

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



CVS commit: src/distrib/utils/sysinst

2012-01-10 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jan 10 21:02:48 UTC 2012

Modified Files:
src/distrib/utils/sysinst: defs.h main.c menus.mi msg.mi.de msg.mi.en
msg.mi.es msg.mi.fr msg.mi.pl net.c util.c

Log Message:
Add support for installing source sets as discussed on tech-install,
with improved German translations from Martin Husemann and Julian
Djamil Fagir.  French, Spanish, and Polish translations are
still needed.  OK christos, riz.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/distrib/utils/sysinst/defs.h
cvs rdiff -u -r1.62 -r1.63 src/distrib/utils/sysinst/main.c
cvs rdiff -u -r1.43 -r1.44 src/distrib/utils/sysinst/menus.mi
cvs rdiff -u -r1.60 -r1.61 src/distrib/utils/sysinst/msg.mi.de
cvs rdiff -u -r1.168 -r1.169 src/distrib/utils/sysinst/msg.mi.en
cvs rdiff -u -r1.38 -r1.39 src/distrib/utils/sysinst/msg.mi.es
cvs rdiff -u -r1.118 -r1.119 src/distrib/utils/sysinst/msg.mi.fr
cvs rdiff -u -r1.77 -r1.78 src/distrib/utils/sysinst/msg.mi.pl
cvs rdiff -u -r1.129 -r1.130 src/distrib/utils/sysinst/net.c
cvs rdiff -u -r1.172 -r1.173 src/distrib/utils/sysinst/util.c

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



CVS commit: src/tests/syscall

2011-05-02 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon May  2 11:14:29 UTC 2011

Modified Files:
src/tests/syscall: t_nanosleep.c

Log Message:
Don't print a time_t with %lu


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/syscall/t_nanosleep.c

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



CVS commit: src/tests/lib/libc/locale

2013-03-25 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Mar 25 15:31:03 UTC 2013

Modified Files:
src/tests/lib/libc/locale: t_wctomb.c

Log Message:
Don't size an array using MB_CUR_MAX while one locale is in effect and
then use it with another locale having a larger MB_CUR_MAX.  This
should fix the t_wctomb:wcrtomb_state test failures seen on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/locale/t_wctomb.c

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



CVS commit: src/tests/lib/libpthread

2013-04-12 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Apr 12 14:21:52 UTC 2013

Modified Files:
src/tests/lib/libpthread: t_condwait.c

Log Message:
Make cond_wait_mono and cond_wait_real tests accept a wait time in the
range of 90% to 250% of nominal, to allow the test to pass under qemu
which has a known issue where timing can be off by a factor of two.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libpthread/t_condwait.c

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



CVS commit: src/tests/kernel

2013-05-31 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri May 31 14:40:48 UTC 2013

Modified Files:
src/tests/kernel: t_umountstress.sh

Log Message:
Don't rely on "kill -0" to check whether a background shell command
has exited; it does not work reliably because the process may still
exist as a zombie.  OK mlelstv.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/t_umountstress.sh

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



CVS commit: src/sys/arch/x86/pci

2013-10-05 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Oct  5 11:20:35 UTC 2013

Modified Files:
src/sys/arch/x86/pci: pci_machdep.c

Log Message:
Force PCI mode 1 when running under QEMU, to work around QEMU bug 897771.
This should also make it possible to boot NetBSD under versions of KVM
that have inherited said QEMU bug.  Fixes PR kern/45671.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/x86/pci/pci_machdep.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/man9

2013-10-17 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Oct 17 13:17:51 UTC 2013

Modified Files:
src/share/man/man9: kpause.9

Log Message:
Don't capitalize "it" in the middle of a sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/kpause.9

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



CVS commit: src/sys/dev/ic

2013-10-30 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Oct 30 08:40:32 UTC 2013

Modified Files:
src/sys/dev/ic: esiop.c siop.c

Log Message:
Fix incorrect function names in panic message strings.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/ic/esiop.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/siop.c

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



CVS commit: src/sys/dev/ic

2013-11-02 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Nov  2 13:59:14 UTC 2013

Modified Files:
src/sys/dev/ic: esiop.c siop.c

Log Message:
Turn the "esiop_intr: I shouldn't be there !" panic into a printf
followed by a return from the interrupt handler.  The condition is
triggered on some KVM virtual hosts, apparently harmlessly, and not
panicing makes it possible to boot a NetBSD GENERIC kernel on those
hosts.  Also make the same change to siop to minimize divergence
between siop and esiop.  Fixes PR kern/48277.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ic/esiop.c
cvs rdiff -u -r1.99 -r1.100 src/sys/dev/ic/siop.c

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



CVS commit: src

2014-01-06 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan  6 14:50:33 UTC 2014

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/net: Makefile t_hostent.sh
Added Files:
src/tests/lib/libc/net: h_dns_server.c

Log Message:
Make t_hostent test cases that query the DNS work on systems with no
Internet connectivity, by hijacking DNS queries and /etc/resolv.conf
accesses using librumphijack and providing a minimal DNS server to
answer the queries.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.553 -r1.554 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/net/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/net/h_dns_server.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/net/t_hostent.sh

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



CVS commit: src/tests/lib/libc/net

2014-01-06 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan  6 16:42:57 UTC 2014

Modified Files:
src/tests/lib/libc/net: h_dns_server.c

Log Message:
Fix spelling of "daemon".  Pointed out by Thomas Klausner.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/net/h_dns_server.c

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



CVS commit: src

2014-01-07 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jan  7 16:47:13 UTC 2014

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/usr.bin: Makefile
Added Files:
src/tests/usr.bin/vmstat: Makefile t_vmstat.sh

Log Message:
Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.


To generate a diff of this commit:
cvs rdiff -u -r1.554 -r1.555 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.98 -r1.99 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.18 -r1.19 src/tests/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/vmstat/Makefile \
src/tests/usr.bin/vmstat/t_vmstat.sh

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



CVS commit: src/tests/lib/libc/net

2014-01-10 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Jan 10 20:38:11 UTC 2014

Modified Files:
src/tests/lib/libc/net: t_hostent.sh

Log Message:
Remove comment that no longer applies.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/net/t_hostent.sh

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



CVS commit: src/tests/lib/libc/net

2014-01-13 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 13 10:49:47 UTC 2014

Modified Files:
src/tests/lib/libc/net: t_hostent.sh

Log Message:
Add missing resolv.conf override to the gethostbyaddr6 test case.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/net/t_hostent.sh

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



CVS commit: src/tests/lib/libc/net

2014-01-13 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jan 13 11:08:14 UTC 2014

Modified Files:
src/tests/lib/libc/net: t_hostent.sh

Log Message:
When using braces around shell variable names, do so consistently


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/net/t_hostent.sh

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



CVS commit: src/crypto/external/bsd/openssh/dist

2014-02-20 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Thu Feb 20 08:20:05 UTC 2014

Modified Files:
src/crypto/external/bsd/openssh/dist: ssh.c

Log Message:
Don't print an empty line after the debug message "Enabled Dynamic
Window Scaling".


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/crypto/external/bsd/openssh/dist/ssh.c

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



CVS commit: src/tests/net/net

2017-12-30 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Dec 30 22:02:34 UTC 2017

Modified Files:
src/tests/net/net: t_pktinfo_send.c

Log Message:
Use the default ATF timeout instead of a reduced one of 5 seconds,
which isn't enough for pmax under gxemul on babylon5.netbsd.org.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/net/net/t_pktinfo_send.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/man9

2018-06-03 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Jun  3 12:54:51 UTC 2018

Modified Files:
src/share/man/man9: Makefile

Log Message:
Remove stray space to unbreak build


To generate a diff of this commit:
cvs rdiff -u -r1.426 -r1.427 src/share/man/man9/Makefile

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-06-16 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jun 16 15:18:33 UTC 2018

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c

Log Message:
Use space between words


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c

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



CVS commit: src/tests

2018-06-19 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jun 19 09:20:47 UTC 2018

Modified Files:
src/tests/fs/common: h_fsmacros.h
src/tests/lib/libc/gen: t_dir.c
src/tests/lib/libc/sys: t_posix_fadvise.c

Log Message:
No semicolon after macro do ... while (0) wrapper.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/tests/fs/common/h_fsmacros.h
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/gen/t_dir.c
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_posix_fadvise.c

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



CVS commit: src/libexec/ftpd

2018-06-23 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jun 23 07:21:00 UTC 2018

Modified Files:
src/libexec/ftpd: extern.h

Log Message:
No semicolon after macro do ... while (0) wrapper.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/libexec/ftpd/extern.h

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



CVS commit: src/sys/sys

2018-06-23 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jun 23 07:23:06 UTC 2018

Modified Files:
src/sys/sys: ipc.h

Log Message:
No semicolon after macro do ... while (0) wrapper.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/ipc.h

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



CVS commit: src/bin/sh

2017-05-13 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat May 13 15:03:34 UTC 2017

Modified Files:
src/bin/sh: miscbltin.c

Log Message:
Fix inconsistent whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/bin/sh/miscbltin.c

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



CVS commit: src/tests/lib/libc/db

2017-06-24 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jun 24 10:25:23 UTC 2017

Modified Files:
src/tests/lib/libc/db: h_lfsr.c

Log Message:
Reduce the number of iterations in the bsize_torture test from 65535
to 1000 to make the ATF test suite as a whole take less time.  Before
the change, this single test case could take more than two hours to
run on a qemu emulated ARM.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/db/h_lfsr.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/x86/include

2017-07-11 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jul 11 14:00:16 UTC 2017

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/x86/include/specialreg.h

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/landisk

2017-07-18 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Jul 18 17:15:45 UTC 2017

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

Log Message:
Clear the screen after running installboot.  If we don't, there will
be a leftover line saying "Status: Finished" at the top of subsequent
screens, and the message "Hit enter to continue" will be redrawn after
the set selection is complete, which confuses literal-minded robotic
users such as anita.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/landisk/md.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/arch/i386

2017-09-11 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Sep 11 15:24:28 UTC 2017

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

Log Message:
Clear the screen after running installboot.  If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/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/i386/i386

2017-09-12 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep 12 14:10:49 UTC 2017

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

Log Message:
Don't use a const variable as an array size, because it is not a
constant expression and will cause the array to needlessly become a
variable-size one.  Fixes "error: stack protector not protecting local
variables: variable length buffer [-Werror=stack-protector]" when
building i386 with MKDEBUG=YES -V COPTS="-g".


To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 src/sys/arch/i386/i386/trap.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

2015-08-19 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Wed Aug 19 12:02:55 UTC 2015

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

Log Message:
When closing a tty, limit the amount of time spent waiting for the
output to drain to five seconds so that exiting processes with
buffered output for a serial port blocked by flow control or a pty
that is not being read do not hang indefinitely.  Should fix PRs
kern/12534 and kern/17171.  This is an updated version of the change
of tty.c 1.263.


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.265 src/sys/kern/tty.c

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



  1   2   >