CVS commit: src/lib/libc/arch/aarch64/sys

2018-11-22 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 22 08:30:58 UTC 2018

Modified Files:
src/lib/libc/arch/aarch64/sys: __clone.S

Log Message:
fix condition code. x1==0 is parent.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/sys/__clone.S

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



CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 22 08:54:08 UTC 2018

Modified Files:
src/libexec/httpd: auth-bozo.c bozohttpd.c bozohttpd.h cgi-bozo.c
daemon-bozo.c dir-index-bozo.c main.c ssl-bozo.c tilde-luzah-bozo.c

Log Message:
many clean ups:
- keep a list of special files and their human names
- remove (void) casts on bozo_http_error()
- fix a few more misuses of bozo_http_error()
- rename check_mapping() to check_remap() and perform some CSE
- switch away from ``%s'' to '%s'
- remove a bunch of #ifdef using new have_feature defines


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/libexec/httpd/auth-bozo.c
cvs rdiff -u -r1.92 -r1.93 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.55 -r1.56 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.41 -r1.42 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.18 -r1.19 src/libexec/httpd/daemon-bozo.c \
src/libexec/httpd/main.c
cvs rdiff -u -r1.27 -r1.28 src/libexec/httpd/dir-index-bozo.c
cvs rdiff -u -r1.24 -r1.25 src/libexec/httpd/ssl-bozo.c
cvs rdiff -u -r1.15 -r1.16 src/libexec/httpd/tilde-luzah-bozo.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/conf

2018-11-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 22 13:47:37 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: std.tegra

Log Message:
build fix until someone is brave enough to remove this kernel


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbarm/conf/std.tegra

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

2018-11-22 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Nov 22 15:06:00 UTC 2018

Modified Files:
src/sys/arch/x86/acpi: acpi_machdep.c

Log Message:
Apply MADT interrupt source overrides to interrupts established via
acpi_md_intr_establish.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x86/acpi/acpi_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/dev

2018-11-22 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Nov 22 15:09:46 UTC 2018

Modified Files:
src/sys/dev/mii: inbmphyreg.h
src/sys/dev/pci: if_wm.c

Log Message:
- Add wm_k1_workaround_lv() from FreeBSD. It's PCH2 specifc:
Workaround to set the K1 beacon duration for 82579 parts in 10Mbps.
Disable K1 for 1000 and 100 speeds.
- Make wm_link_stall_workaround_hv() and move an 82578 specific code into it.
  Don't apply the workaround if BMCR_LOOP bit is set. Same as FreeBSD.
- Add comment. Modify comment.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/mii/inbmphyreg.h
cvs rdiff -u -r1.600 -r1.601 src/sys/dev/pci/if_wm.c

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



CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 22 18:21:59 UTC 2018

Modified Files:
src/libexec/httpd: main.c

Log Message:
alpha sort the option switch.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/main.c

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



CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 22 18:42:06 UTC 2018

Modified Files:
src/libexec/httpd: cgi-bozo.c

Log Message:
add an assert() check on array bounds.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/libexec/httpd/cgi-bozo.c

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



CVS commit: src/lib/libpthread/arch/arm

2018-11-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 22 20:38:59 UTC 2018

Modified Files:
src/lib/libpthread/arch/arm: pthread_md.h

Log Message:
G/C __APCS_26__ support


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libpthread/arch/arm/pthread_md.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/arm/cortex

2018-11-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Nov 22 20:47:38 UTC 2018

Modified Files:
src/sys/arch/arm/cortex: gicv3_its.c

Log Message:
use correct interrupt index

fixes intrctl list

from jmcneill@


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

2018-11-22 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Thu Nov 22 21:08:19 UTC 2018

Modified Files:
src/sys/arch/arm/altera: files.altera
src/sys/arch/arm/cortex: a9tmr.c
src/sys/arch/evbarm/conf: GENERIC files.generic
Removed Files:
src/sys/arch/evbarm/conf: NANOSOC

Log Message:
Switch the DE0 Nano SoC to the GENERIC kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/altera/files.altera
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/cortex/a9tmr.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/conf/GENERIC
cvs rdiff -u -r1.4 -r0 src/sys/arch/evbarm/conf/NANOSOC
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/files.generic

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



CVS commit: src/distrib/utils/embedded

2018-11-22 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Thu Nov 22 21:11:37 UTC 2018

Modified Files:
src/distrib/utils/embedded/conf: armv7.conf
src/distrib/utils/embedded/files: armv7_boot.cmd

Log Message:
Make armv7.img boot on the DE0 Nano SoC. Requires u-boot from -current pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/distrib/utils/embedded/conf/armv7.conf
cvs rdiff -u -r1.8 -r1.9 src/distrib/utils/embedded/files/armv7_boot.cmd

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

2018-11-22 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Nov 22 21:28:21 UTC 2018

Modified Files:
src/sys/arch/arm/arm32: cpuswitch.S

Log Message:
Typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/arm/arm32/cpuswitch.S

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



CVS commit: src/lib/libcurses

2018-11-22 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Nov 22 22:00:49 UTC 2018

Modified Files:
src/lib/libcurses: Makefile

Log Message:
We need insstr.c for !HAVE_WCHAR too.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/lib/libcurses/Makefile

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



CVS commit: src/lib/libcurses

2018-11-22 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Nov 22 22:16:45 UTC 2018

Modified Files:
src/lib/libcurses: add_wch.c add_wchstr.c addwstr.c cchar.c
echo_wchar.c get_wch.c get_wstr.c in_wch.c in_wchstr.c ins_wch.c
ins_wstr.c inwstr.c

Log Message:
Drop HAVE_WCHAR ifdefs from code that is not even compiled with !HAVE_WCHAR.

We still try to mainain the ability to build our curses with
!HAVE_WCHAR, but it doesn't make sense to provide stubs for new wide
API functions that just error out when !HAVE_WCHAR.  Any code that
only uses old API (and can work with !HAVE_WCHAR curses) doesn't use
those new functions.  The code that uses new API obviosly cannot work
when all the new API is stubbed out.

So the plan is to drop the stubs.  This commit does that for files
that are not even compiled with !HAVE_WCHAR (not only those stubs are
useless, they were not even there to begin with).

Same object code is generated for the normal HAVE_WCHAR case.  Nothing
is even recompiled for !HAVE_WCHAR.

Ok by blymn@ jdc@ roy@


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libcurses/add_wch.c \
src/lib/libcurses/add_wchstr.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libcurses/addwstr.c
cvs rdiff -u -r1.10 -r1.11 src/lib/libcurses/cchar.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libcurses/echo_wchar.c
cvs rdiff -u -r1.19 -r1.20 src/lib/libcurses/get_wch.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libcurses/get_wstr.c \
src/lib/libcurses/in_wch.c src/lib/libcurses/in_wchstr.c \
src/lib/libcurses/inwstr.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libcurses/ins_wch.c \
src/lib/libcurses/ins_wstr.c

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



CVS commit: src/lib/libcurses

2018-11-22 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Nov 22 23:29:09 UTC 2018

Modified Files:
src/lib/libcurses: attributes.c

Log Message:
Move getattrs() and wcolor_set() so that they are with their peers and
so that wide and non-wide functions are in the same order.  While here,
make __wcolor_set() static.  No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libcurses/attributes.c

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



CVS commit: src/lib/libcurses

2018-11-22 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Nov 22 23:37:31 UTC 2018

Modified Files:
src/lib/libcurses: attributes.c

Log Message:
Drop a few redundant casts of a variable to its own type.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libcurses/attributes.c

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



CVS commit: src/sbin/wsconsctl

2018-11-22 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Nov 23 06:31:57 UTC 2018

Modified Files:
src/sbin/wsconsctl: keyboard.c util.c wsconsctl.c wsconsctl.h

Log Message:
When merging entries with the keyboard map, print only the resulting changes.

While here, replace bcopy with standad memcpy.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sbin/wsconsctl/keyboard.c
cvs rdiff -u -r1.31 -r1.32 src/sbin/wsconsctl/util.c
cvs rdiff -u -r1.18 -r1.19 src/sbin/wsconsctl/wsconsctl.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/wsconsctl/wsconsctl.h

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