CVS commit: src/external/historical/nawk/dist
Module Name:src Committed By: christos Date: Fri Sep 1 07:01:06 UTC 2017 Modified Files: src/external/historical/nawk/dist: lex.c Log Message: PR/52516: Guy Incognito: Fix memory leak; setsymtab already calls tostring() for the buffer, don't do it twice. XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/historical/nawk/dist/lex.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/nvi/dist/cl
Module Name:src Committed By: mlelstv Date: Fri Sep 1 07:21:01 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_main.c cl_screen.c Log Message: When resizing nvi in xterm, a scroll region is set with the old size which garbles the display. The scroll region is set for a terminfo scroll operation and then reset to the current window size. While xterm lets you clear a scroll region, there is no way to do this in terminfo except by resetting the terminal which has a visual side effect. Xterm actually clears the scroll region as part of the resize but that happens before a program gets the SIGWINCH signal. When nvi sees the SIGWINCH signal, it exits the vi mode using a scroll operation to tidy up the display before it reenters vi mode with the new window size. This patch does two things: - make nvi also invoke a previous SIGWINCH handler (not sufficient, but that's how curses wants it). - skip the tidy up in case of a restart (avoids the scroll region) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/cl/cl_main.c \ src/external/bsd/nvi/dist/cl/cl_screen.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/hppa/stand/cdboot
Module Name:src Committed By: skrll Date: Fri Sep 1 07:29:56 UTC 2017 Modified Files: src/sys/arch/hppa/stand/cdboot: ld.script Log Message: Use the same linker script as sys/arch/hppa/stand/boot and fix the gcc 5.3 problem here as well. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/stand/cdboot/ld.script Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/tests/libexec/ld.elf_so
Module Name:src Committed By: martin Date: Fri Sep 1 08:43:22 UTC 2017 Modified Files: src/tests/libexec/ld.elf_so [netbsd-8]: h_thread_local_dtor.c Log Message: Pull up following revision(s) (requested by joerg in ticket #253): tests/libexec/ld.elf_so/h_thread_local_dtor.c: revision 1.2 Avoid a race condition between dlclose and thread termination. To generate a diff of this commit: cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \ src/tests/libexec/ld.elf_so/h_thread_local_dtor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/external/gpl3/gcc/dist/gcc/config
Module Name:src Committed By: martin Date: Fri Sep 1 08:45:42 UTC 2017 Modified Files: src/external/gpl3/gcc/dist/gcc/config [netbsd-8]: netbsd-elf.h src/external/gpl3/gcc/dist/gcc/config/m68k [netbsd-8]: netbsd-elf.h Log Message: Pull up following revision(s) (requested by joerg in ticket #254): external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h: revision 1.11 external/gpl3/gcc/dist/gcc/config/netbsd-elf.h: revision 1.12 PR 51266, PR 52326: Fix GCC specs to always default to -shared-libgcc, except on Sun2, which just uses plain -lgcc. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.6.1 \ src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h cvs rdiff -u -r1.10 -r1.10.6.1 \ src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/tests/lib/libc/stdlib
Module Name:src Committed By: martin Date: Fri Sep 1 08:49:03 UTC 2017 Modified Files: src/tests/lib/libc/stdlib [netbsd-8]: t_atexit.sh Log Message: Pull up following revision(s) (requested by joerg in ticket #255): tests/lib/libc/stdlib/t_atexit.sh: revision 1.2 Reference correct binary in error messages. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.38.1 src/tests/lib/libc/stdlib/t_atexit.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/external/bsd/drm2/include/linux
Module Name:src Committed By: martin Date: Fri Sep 1 09:51:08 UTC 2017 Modified Files: src/sys/external/bsd/drm2/include/linux [netbsd-8]: pci.h Log Message: Pull up following revision(s) (requested by maya in ticket #259): sys/external/bsd/drm2/include/linux/pci.h: revision 1.24 Disable MSI on DRMKMS (again). It is causing problems on some older nvidia graphics cards: http://mail-index.netbsd.org/netbsd-users/2017/08/02/msg020026.html http://mail-index.netbsd.org/pkgsrc-users/2017/08/26/msg025492.html PR kern/52440 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.6.1 src/sys/external/bsd/drm2/include/linux/pci.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/hppa/stand/cdboot
Module Name:src Committed By: martin Date: Fri Sep 1 09:52:40 UTC 2017 Modified Files: src/sys/arch/hppa/stand/cdboot [netbsd-8]: ld.script Log Message: Pull up following revision(s) (requested by skrll in ticket #260): sys/arch/hppa/stand/cdboot/ld.script: revision 1.2 Use the same linker script as sys/arch/hppa/stand/boot and fix the gcc 5.3 problem here as well. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.28.1 src/sys/arch/hppa/stand/cdboot/ld.script Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev
Module Name:src Committed By: martin Date: Fri Sep 1 09:59:11 UTC 2017 Modified Files: src/sys/dev [netbsd-8]: dksubr.c ld.c ldvar.h src/sys/dev/i2o [netbsd-8]: ld_iop.c src/sys/dev/ic [netbsd-8]: ld_cac.c ld_nvme.c src/sys/dev/pci [netbsd-8]: ld_virtio.c src/sys/dev/sdmmc [netbsd-8]: ld_sdmmc.c sdmmc_mem.c sdmmcvar.h Log Message: Pull up following revision(s) (requested by mlelstv in ticket #261): sys/dev/sdmmc/ld_sdmmc.c: revision 1.32 sys/dev/sdmmc/ld_sdmmc.c: revision 1.33 sys/dev/sdmmc/ld_sdmmc.c: revision 1.34 sys/dev/sdmmc/sdmmc_mem.c: revision 1.62 sys/dev/i2o/ld_iop.c: revision 1.39 sys/dev/ld.c: revision 1.102 sys/dev/ld.c: revision 1.103 sys/dev/dksubr.c: revision 1.98 sys/dev/dksubr.c: revision 1.99 sys/dev/sdmmc/sdmmcvar.h: revision 1.29 sys/dev/ic/ld_nvme.c: revision 1.17 sys/dev/ldvar.h: revision 1.31 sys/dev/ldvar.h: revision 1.32 sys/dev/ic/ld_cac.c: revision 1.31 sys/dev/pci/ld_virtio.c: revision 1.16 While ld(4) is MP safe, many backends are not. Add a flag for backends that are MP safe. Take KERNEL_LOCK when calling into a backend that doesn't have the flag set. Do the same for the discard routine. Fixes PR 52462. Defer sdmmc discard operations to the sdmmc task queue. Fixes a panic introduced by ld.c r1.102. validate length for discard operation and split operation when byte length doesn't fit into 'int'. make the sc_discard interface for the ld backend asynchronous and signal completion through new callback lddiscardend. Use a standard struct buf to pass disk address and range instead of two off_t values. make lddiscard synchronous again. This is a requirement of the current ffs discard code. Initialize error also in the case where len=0, which just succeeds. while here, assert that the len is indeed non-negative. this is already confirmed by sys_fdiscard, but let's be sure. reported by: GCC, but with different compile flags To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.97.2.1 src/sys/dev/dksubr.c cvs rdiff -u -r1.101 -r1.101.2.1 src/sys/dev/ld.c cvs rdiff -u -r1.30 -r1.30.2.1 src/sys/dev/ldvar.h cvs rdiff -u -r1.37 -r1.37.6.1 src/sys/dev/i2o/ld_iop.c cvs rdiff -u -r1.30 -r1.30.8.1 src/sys/dev/ic/ld_cac.c cvs rdiff -u -r1.16 -r1.16.2.1 src/sys/dev/ic/ld_nvme.c cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/dev/pci/ld_virtio.c cvs rdiff -u -r1.26.4.4 -r1.26.4.5 src/sys/dev/sdmmc/ld_sdmmc.c cvs rdiff -u -r1.56.4.3 -r1.56.4.4 src/sys/dev/sdmmc/sdmmc_mem.c cvs rdiff -u -r1.23.6.3 -r1.23.6.4 src/sys/dev/sdmmc/sdmmcvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Fri Sep 1 10:01:09 UTC 2017 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Note tickets #253 - #255, #259 - #261 To generate a diff of this commit: cvs rdiff -u -r1.1.2.52 -r1.1.2.53 src/doc/CHANGES-8.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libedit
Module Name:src Committed By: christos Date: Fri Sep 1 10:19:10 UTC 2017 Modified Files: src/lib/libedit: editline.3 hist.h histedit.h history.c readline.c src/lib/libedit/readline: readline.h Log Message: PR/51517: Jay West: Tty settings not restored on exit PR/51518: Jay West: prompt is interleaved with client output Both these issues are caused by rl_restore_handler not DTRT; fix it so that it kills the internal libedit state completely. This is inefficient, but it works. Also fix: 1. add append_history()/H_NSAVE_FP 2. call the rl_startup_hook before printing the first prompt as documented. callint it from rl_initialize breaks python, because the callback ends up being invoked before the readline module is installed, and we end up dereferencing a NULL pointer. 3. add el_resize_terminal. With those changes, s/lreadline/ledit/g in python works. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/lib/libedit/editline.3 cvs rdiff -u -r1.22 -r1.23 src/lib/libedit/hist.h cvs rdiff -u -r1.56 -r1.57 src/lib/libedit/histedit.h cvs rdiff -u -r1.57 -r1.58 src/lib/libedit/history.c cvs rdiff -u -r1.141 -r1.142 src/lib/libedit/readline.c cvs rdiff -u -r1.41 -r1.42 src/lib/libedit/readline/readline.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [nick-nhusb] src/sys/dev/usb
Module Name:src Committed By: skrll Date: Fri Sep 1 13:45:24 UTC 2017 Modified Files: src/sys/dev/usb [nick-nhusb]: if_cue.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.68.4.15 -r1.68.4.16 src/sys/dev/usb/if_cue.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/server/drivers/xf86-video-openchrome
Module Name:src Committed By: christos Date: Fri Sep 1 14:38:24 UTC 2017 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-openchrome: Makefile Log Message: more no-error-ssp To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile 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
Module Name:src Committed By: skrll Date: Fri Sep 1 15:19:59 UTC 2017 Modified Files: src/sys/dev/usb: usb.c Log Message: Add a missing break that should have been included in revision 1.163. Spotted by "sc dying" and reported on current-users To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/sys/dev/usb/usb.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/sys
Module Name:src Committed By: kre Date: Fri Sep 1 16:27:02 UTC 2017 Modified Files: src/tests/lib/libc/sys: t_mincore.c Log Message: Use PROT_MPROTECT() (which would have been better had it been called PROT_MAXPROTECT or PROT_ALLOWPROTECT or something) on the mmap() call which specifies PROT_NONE, and which we later want to change to PROT_READ, otherwise when PAX is enabled, the mprotect() will fail. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libc/sys/t_mincore.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/sys
Module Name:src Committed By: kre Date: Fri Sep 1 16:51:58 UTC 2017 Modified Files: src/tests/lib/libc/sys: t_mincore.c Log Message: Allow the test to build on systems where sys/mman.h does not provide PROT_MPROTECT(), or if the test is built without _NETBSD_SOURCE defined, by providing a dummy #define if the real one does not exist. The test might then fail, if the PROT_MPROTECT() is really needed, but that's better than not building. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/sys/t_mincore.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/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Fri Sep 1 18:35:50 UTC 2017 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c acpidump.8 Log Message: Decode the following entries: - DBG2 (Debug Port Table 2) - SPMI (Server Platform Management Interface Table) - WDDT (Watchdog Timer Description Table) - UEFI (UEFI, not fully decoded yet) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/acpitools/acpidump/acpi.c cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/acpitools/acpidump/acpidump.8 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
Module Name:src Committed By: macallan Date: Fri Sep 1 20:10:08 UTC 2017 Modified Files: src/sys/arch/macppc/dev: pmu.c Log Message: support I2C bus and direct config of slave devices To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 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/dev/i2c
Module Name:src Committed By: macallan Date: Fri Sep 1 20:11:59 UTC 2017 Modified Files: src/sys/dev/i2c: adm1021.c Log Message: support MAX6642 - yet another adm1021 kinda-sorta clone To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/i2c/adm1021.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/conf
Module Name:src Committed By: macallan Date: Fri Sep 1 20:58:14 UTC 2017 Modified Files: src/sys/arch/macppc/conf: GENERIC Log Message: add iic at pmu and admtemp To generate a diff of this commit: cvs rdiff -u -r1.331 -r1.332 src/sys/arch/macppc/conf/GENERIC 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
Module Name:src Committed By: ryoon Date: Sat Sep 2 04:35:51 UTC 2017 Modified Files: src/sys/dev/usb: ugraphire_rdesc.h uhidev.c Log Message: Support some Wacom pen tablets: * Graphire (pen) * Graphire2 (pen) * Intuos2 A4 (pen) * Intuos Art (pen, no finger touch) Remove report descriptor override workaround for Graphire and Graphire2. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/ugraphire_rdesc.h cvs rdiff -u -r1.71 -r1.72 src/sys/dev/usb/uhidev.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libedit
Module Name:src Committed By: wiz Date: Sat Sep 2 06:48:10 UTC 2017 Modified Files: src/lib/libedit: editline.3 Log Message: Remove trailing whitespace; convert Xr readline to Nm readline, since we won't get a readline man page in base. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libedit/editline.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.