NetBSD/src EP25hxosys/arch/evbarm/hdl_g hdlgreg.h

   HDL_G: Belatedly catch up with devmap change

   XXXTODO
   Stop using devmap for HDLG_IOW_VBASE and HDLG_80321_VBASE;
   let arm/xscale/i80321* codes use bus_space_handle_t instead of
   virtual address itself.
VersionDeltaFile
1.4+13-3sys/arch/evbarm/hdl_g/hdlgreg.h
+13-31 files

NetBSD/src 3DszXUXtests/lib/libpthread Makefile

   tests/lib/libpthread/t_compat_cancel: Make linker warnings non-fatal.

   We will get warnings like:

   /home/riastradh/netbsd/current/src/tests/lib/libpthread/t_compat_cancel.c:233: warning: warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference

   This is intended -- t_compat_cancel deliberately uses the compat
   symbols, not the modern symbols, in order to test the compat symbols.

   Fixes clang build because bsd.sys.mk enables -Wl,--fatal-warnings in
   LDFLAGS by default.

   PR lib/59240: POSIX.1-2024: cancellation point audit
   PR lib/59247: pthread_cancelstub.c is inadequately tested
VersionDeltaFile
1.19+2-1tests/lib/libpthread/Makefile
+2-11 files

NetBSD/src oCZ3Fugetc/rc.d wscons

   Enable setting of font variable on console and constty

   PR bin/59232
VersionDeltaFile
1.14+2-2etc/rc.d/wscons
+2-21 files

NetBSD/src 6fqJ5uEsys/kern subr_log.c

   logread: Use ulmin(9) for long v.s. size_t comparison

   instead of uimin(9).

   No real harm is expected IIUC.
VersionDeltaFile
1.65+3-3sys/kern/subr_log.c
+3-31 files

NetBSD/src PetX5tTsys/kern subr_log.c

   logread: Drop unnecessary (int) cast for uiomove(9)'s count

   which was changed to size_t back to 2002!
   https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/systm.h#rev1.149

   No practical problem is expected although.
VersionDeltaFile
1.64+3-3sys/kern/subr_log.c
+3-31 files

NetBSD/src PkINm13tests/lib/libc/gen t_sleep.c

   tests/lib/libc/gen/t_sleep: Sprinkle a few more diagnostics.

   PR misc/59254: tests/lib/libc/gen/t_sleep:kevent: intermittent failures
VersionDeltaFile
1.14+8-2tests/lib/libc/gen/t_sleep.c
+8-21 files

NetBSD/src dpnc4qBtests/lib/libc/gen t_fpclassify.c

   t_fpclassify: Fix build on vax after #if'ing out subnormal tests.

   Must've neglected to compile-test this _on vax_, oops.

   PR port-vax/59261: t_fpclassify tests are failing
VersionDeltaFile
1.8+16-10tests/lib/libc/gen/t_fpclassify.c
+16-101 files

NetBSD/src L9aESZPexternal/bsd/nvi/dist/docs/vi.man vi.1, external/bsd/nvi/dist/docs/vi.ref vi.cmd.texi vi.texi

   make it clear that the # commands changes the number under the cursor
VersionDeltaFile
1.9+2-2external/bsd/nvi/dist/docs/vi.man/vi.1
1.3+2-2external/bsd/nvi/dist/docs/vi.ref/vi.cmd.texi
1.3+1-1external/bsd/nvi/dist/docs/vi.ref/vi.texi
+5-53 files

NetBSD/src YX2k7Gdsys/sys socketvar.h

   s/scokets/sockets/ in comment.
VersionDeltaFile
1.171+2-2sys/sys/socketvar.h
+2-21 files

NetBSD/src AYrP09Zlib/libc/compat/arch/ia64/sys compat_sigsuspend.S compat_sigprocmask.S

   ia64: Include compat13 sigprocmask and sigsuspend stubs.

   All the other ports already do this.  Although ia64 was imported long
   after 1.4, the same is true of other ports that nevertheless include
   these stubs, like amd64.

   We could invent a new __NetBSD_Compat_Min__ macro like
   __NetBSD_Version__ that tells the earliest version of NetBSD for
   which we aim to support compat binaries, and use that to
   conditionalize tests like t_compat_cancel.c.  But that's a bit more
   trouble for something we can dispense with by a couple tiny syscall
   stubs.

   Should fix build for:

   PR lib/59240: POSIX.1-2024: cancellation point audit
   PR lib/59247: pthread_cancelstub.c is inadequately tested
VersionDeltaFile
1.1+34-0lib/libc/compat/arch/ia64/sys/compat_sigsuspend.S
1.1+34-0lib/libc/compat/arch/ia64/sys/compat_sigprocmask.S
1.4+6-2lib/libc/compat/arch/ia64/sys/Makefile.inc
+74-23 files

NetBSD/src fHQttPEdoc 3RDPARTY

   PR/59270: Taylor R Campbell: external/mit/isl: missing from doc/3RDPARTY
VersionDeltaFile
1.2095+18-1doc/3RDPARTY
+18-11 files

NetBSD/src mtsHOkushare/installboot/evbarm boards.plist

   evbarm/boards.plist: add marsboard
VersionDeltaFile
1.15+8-1share/installboot/evbarm/boards.plist
+8-11 files

NetBSD/src DnwXMnelib/libpthread Makefile

   libpthread: fix lint build
VersionDeltaFile
1.100+3-1lib/libpthread/Makefile
+3-11 files

NetBSD/src TqJ9V0Ctests/usr.bin/xlint/lint1 platform_schar.c platform_uchar.c, usr.bin/xlint/lint1 err.c

   lint: remove warning about 'constant in conditional context'

   This makes the '-X 161' option to lint invalid.
VersionDeltaFile
1.267+3-3usr.bin/xlint/lint1/err.c
1.7+2-2tests/usr.bin/xlint/lint1/platform_schar.c
1.6+2-2tests/usr.bin/xlint/lint1/platform_uchar.c
+7-73 files

NetBSD/src VIlzTs9games/rogue object.c monster.c

   Fix loading save files

   Both monster and weapon damage are represented as strings like "1d1", and
   internally the game keeps track of them as pointers to static strings
   in memory.  When saving, the game saves these pointers and when loading
   them the pointers end up being identical to before - which now points to
   undefined memory.

   So when loading a save game, reset the damage strings based on the type
   of monster or weapon.

   Pointed out and fix suggested by Anthony C Howe <achowe at snert.com>
   (committed with a small modification of said patch).
VersionDeltaFile
1.15+32-26games/rogue/object.c
1.18+13-2games/rogue/monster.c
1.15+10-2games/rogue/save.c
1.25+3-1games/rogue/rogue.h
+58-314 files

NetBSD/src yc2lhKvsys/dev/wscons wsmouse.c wskbd.c

   wsmouse(4), wskbd(4): less DIAGNOSTIC, more KASSERT

   Also, add a DPRINTF to wsmouseclose() and wskbdclose(), mirroring their
   respective open functions.
VersionDeltaFile
1.75+11-17sys/dev/wscons/wsmouse.c
1.146+11-17sys/dev/wscons/wskbd.c
+22-342 files

NetBSD/src qfbmsWxsys/dev/wscons wsmux.c

   wsmux(4): fix open/close of child devices

   Only open child devices which aren't open already, and only close what
   we've opened. While here, fix all that #ifdef DIAGNOSTIC stuff. Most of
   that should just be KASSERTs.

   PR kern/59206
VersionDeltaFile
1.68+42-84sys/dev/wscons/wsmux.c
+42-841 files

NetBSD/src Mowp6N5sys/dev/usb uts.c

   uts(4): check uhidev_open() return before setting sc_enabled

   Also, check that sc_enabled is set before disabling.

   PR kern/59206
VersionDeltaFile
1.18+11-8sys/dev/usb/uts.c
+11-81 files

NetBSD/src OqmXLK2tests/lib/libc/stdlib t_strtod.c

   tests/lib/libc/stdlib/t_strtod: Fix strtod_gherman_bug build on VAX.

   A typo (DBL_MANG_DIG) excluded this whole block, so my attempts to
   compile-test it failed to find the build errors.  Oops!

   PR port-vax/59264: t_strtod:strtod_gherman_bug test is failing
VersionDeltaFile
1.39+5-5tests/lib/libc/stdlib/t_strtod.c
+5-51 files

NetBSD/src V0khUgotests/lib/libc/stdlib t_strtod.c

   tests/lib/libc/stdlib/t_strtod: Adapt strtod_gherman_bug to VAX.

   PR port-vax/59264: t_strtod:strtod_gherman_bug test is failing
VersionDeltaFile
1.38+44-4tests/lib/libc/stdlib/t_strtod.c
+44-41 files

NetBSD/src 0wGdgYPtests/lib/libc/gen t_isnan.c

   tests/lib/libc/gen/t_isnan: Fix architecture conditionals.

   1. Skip isinf_basic on VAX.  We have no other way to query `does this
      architecture support infinities?' and other tests already use
      isinf(HUGE_VAL) to determine that, so let's just make sure it
      works correctly on VAX.

   2. Don't skip these tests on m68k.  This was originally conditional
      on m68000 (which is to say, NetBSD's MACHINE_ARCH for Motorola
      68010 CPUs, i.e., the sun2 port), and was later mistakenly changed
      to m68k.  But there's no reason any m68k, 68010 or later, should
      skip this -- the floating-point format of the ABI does have NaN
      and infinity, whether it's a softfloat ABI or hardfloat ABI.

   PR misc/59266: t_isnan:isinf_basic test is bogus on some ports
VersionDeltaFile
1.6+4-7tests/lib/libc/gen/t_isnan.c
+4-71 files

NetBSD/src 0odeqHNtests/lib/libc/atomic t___sync_lock.c

   t___sync_lock: Try to make this work on VAX.

   Add note about why it _isn't_ also special on HPPA even though it may
   seems like it ought to be.

   PR port-vax/59260: t___sync_lock:__sync_lock_release_N tests are failing
VersionDeltaFile
1.2+62-10tests/lib/libc/atomic/t___sync_lock.c
+62-101 files

NetBSD/src dYNZhkutests/lib/libc/gen t_fpclassify.c, tests/lib/libm t_next.c t_hypot.c

   tests: Use `#if __*_HAS_DENORM__', not `#ifdef __*_HAS_DENORM__'.

   The compiler defines this to zero on, e.g., VAX.

   PR port-vax/59261: t_fpclassify tests are failing
VersionDeltaFile
1.8+11-11tests/lib/libm/t_next.c
1.7+4-4tests/lib/libc/gen/t_fpclassify.c
1.9+4-4tests/lib/libm/t_hypot.c
+19-193 files

NetBSD/src 19bgwc0crypto/external/bsd/openssl.old/lib/libcrypto Makefile bn.inc, external/bsd/jemalloc.old/lib Makefile.inc

   all: remove 'constant in conditional context' from LINTFLAGS

   Lint no longer emits this message, as it produced too many false
   positives.
VersionDeltaFile
1.2+123-17crypto/external/bsd/openssl.old/lib/libcrypto/Makefile
1.3+27-27external/bsd/jemalloc.old/lib/Makefile.inc
1.2+41-11crypto/external/bsd/openssl.old/lib/libcrypto/bn.inc
1.54+4-4lib/libc/compiler_rt/Makefile.inc
1.242+2-3lib/libm/Makefile
1.35+1-3external/lgpl3/gmp/lib/libgmp/Makefile
+198-658 files not shown
+208-8214 files

NetBSD/src 9jpi4vTshare/man/man9 wskbd.9

   wskbd.9: fix function prototype
VersionDeltaFile
1.16+3-3share/man/man9/wskbd.9
+3-31 files

NetBSD/src nfMo0oHsys/sys cdefs.h

   sys/cdefs.h: remove lint CONSTCOND comment

   Since message 161 'constant in conditional context' has been removed,
   the comment is no longer needed.
VersionDeltaFile
1.166+3-3sys/sys/cdefs.h
+3-31 files

NetBSD/src bANfahitests/usr.bin/xlint/lint1 msg_161.c d_c99_bool_strict.c, usr.bin/xlint/lint1 tree.c

   lint: remove warning about 'constant in conditional context'

   In a full NetBSD build, this warning occurs about 2400 times, making it
   the top 9 warning overall.  There is no evidence though that this
   warning detects any real bugs, so the noise it makes is not warranted.

   In this first step, the warning is still listed in the lint(7) manual
   page, as removing it from there would immediately make all places with
   "LINTFLAGS += -X 161" fail.  These '-X 161' flags cannot be removed
   first because then, the warning would step in and make the build fail.

   The next step is to clean up the "-X 161" options from all LINTFLAGS,
   and then the final step is to remove the warning from err.c.
VersionDeltaFile
1.678+2-25usr.bin/xlint/lint1/tree.c
1.13+10-8tests/usr.bin/xlint/lint1/msg_161.c
1.52+2-14tests/usr.bin/xlint/lint1/d_c99_bool_strict.c
1.9+1-3tests/usr.bin/xlint/lint1/msg_239.c
+15-504 files

NetBSD/src ZmflFdgtests/lib/libc/sys t_posix_fadvise.c

   t_posix_fadvise: Don't check whether errno is preserved.

   I can find no guarantee in POSIX about posix_fadvise preserving
   errno; until such language is found I'm going to assume there is no
   such guarantee.

   What is happening is that, sometimes, rump_sys_posix_fadvise waits on
   a mutex or condvar, which uses _lwp_park internally, which sometimes
   wakes up early with EALREADY because a wakeup was already pending for
   the thread by the time it entered _lwp_park.  And that EALREADY is
   delivered by _lwp_park via errno.

   PR kern/53931: posix_fadvise_reg test case fails randomly on real
   hardware
VersionDeltaFile
1.4+6-9tests/lib/libc/sys/t_posix_fadvise.c
+6-91 files

NetBSD/src DJ65g6Qsys/sys ktrace.h

   sys/ktrace.h: Need sys/param.h for MAXCOMLEN.

   Found while preparing to diagnose:

   PR kern/53931: posix_fadvise_reg test case fails randomly on real
   hardware
VersionDeltaFile
1.71+3-1sys/sys/ktrace.h
+3-11 files

NetBSD/src ojrnkAcgames/rogue play.c

   Fix segfault when canceling "Quit" operation

   When pressing 'Q' followed by anything other than 'y', make sure not to
   end up calling __unreachable().

   Pointed out by Anthony C Howe <achowe at snert.com>
VersionDeltaFile
1.11+3-3games/rogue/play.c
+3-31 files