NetBSD/src NRFi6uGsys/arch/m68k/m68k switch_subr.s

   Sprinkle nop.

   This is the kernel part of addressing the issue with fpu emulation on lc040
   cpus.

   The idea is that we might be switch from or to an f-line (MMU/FPU Trap)
   instruction so prepend a nop to flush the caches.

   Addresses part of PR/13078.

   The second part to this (patch to binutils/gas) has been submitted upstream
   and will be fixed when this part is reviewed and included in our local copy
   of binutils or (hopefully) in a later version of binutils from upstream.

   See:
   https://sourceware.org/pipermail/binutils/2025-March/140270.html
VersionDeltaFile
1.39+9-1sys/arch/m68k/m68k/switch_subr.s
+9-11 files

NetBSD/src bPq56Gdusr.sbin/installboot/arch hp300.c

   Always read LIF volume/directory from stage1 even on cd9660 stage2 case.

   mmap(2) against the bootstrap file in the target cd9660 could fail
   because the sector size of ISO9660 is 2048 so each file could be
   allocated at an offset not pagesize (4096 or 8192) aligned.

   This could fail if stage1 (specified via "primary" arg on command line)
   and stage2 (on the target filesystem) files are different, but
   in "build.sh iso-image" case they are always identical.

   The problem (build failures in auotomated builds for hp300 on Linux)
   was reported by Jan-Benedict Glaw.

   Should also be pulled up to netbsd-10.
VersionDeltaFile
1.20+11-23usr.sbin/installboot/arch/hp300.c
+11-231 files

NetBSD/src eiN8wILexternal/bsd/blocklist/lib bl.c

   PR/59218: Taylor R Campbell: fix NUL termination
VersionDeltaFile
1.9+3-3external/bsd/blocklist/lib/bl.c
+3-31 files

NetBSD/src YCCwBTNusr.bin/make/unit-tests varparse-errors.mk

   tests/make: fix test for printing the stack trace

   Depending on the exact environment in which the test is run, the "./"
   path component may or may not be trimmed from the output. Use an
   absolute path instead.
VersionDeltaFile
1.23+3-3usr.bin/make/unit-tests/varparse-errors.mk
+3-31 files

NetBSD/src 6EuALUPusr.bin/make var.c, usr.bin/make/unit-tests varmod-select-words.mk varmod-select-words.exp

   make: fix error message for invalid ":[...]" modifier

   The unparsed value of the modifier argument can already be seen in the
   stack trace, but the modifier argument may contain expressions and the
   expanded value of these expressions was hidden up to now. See the EMPTY
   test at the bottom of varmod-select-words.mk for details.
VersionDeltaFile
1.7+13-13usr.bin/make/unit-tests/varmod-select-words.mk
1.8+12-12usr.bin/make/unit-tests/varmod-select-words.exp
1.1157+10-12usr.bin/make/var.c
1.26+4-4usr.bin/make/unit-tests/varmod.mk
1.21+3-3usr.bin/make/unit-tests/varmod.exp
1.53+1-1usr.bin/make/unit-tests/moderrs.exp
+43-456 files

NetBSD/src Ocgdzc7lib/libc/string strlcpy.3

   strlcpy(3): Another attempt at reworking the description for clarity.

   These functions have extremely sharp edges that are apparently still
   inadequately documented.  Put the full behaviour of both functions
   more clearly up front, emphasize that src MUST be NUL-terminated up
   front, and add another WARNING for another sharp edge that wasn't
   made clear enough.
VersionDeltaFile
1.23+104-43lib/libc/string/strlcpy.3
+104-431 files

NetBSD/src LoyOQ45usr.bin/make var.c, usr.bin/make/unit-tests varmod-assign.mk varmod-assign.exp

   make: add details to error message for the "::=" modifier

   The previous error message about a bad modifier ":" was not helpful, as
   the strcspn call stopped immediately due to the modifier starting with
   the separater character ":".  The previous error message also didn't
   reveal that the "parse error" was due to the expression name being
   empty.
VersionDeltaFile
1.28+11-5usr.bin/make/unit-tests/varmod-assign.mk
1.1156+8-4usr.bin/make/var.c
1.34+7-3usr.bin/make/unit-tests/varmod-assign.exp
+26-123 files

NetBSD/src HwVjOfEusr.bin/make var.c

   make: simplify error handling for unknown modifiers
VersionDeltaFile
1.1155+12-18usr.bin/make/var.c
+12-181 files

NetBSD/src 00qyEJsusr.bin/make var.c, usr.bin/make/unit-tests varmod-sysv.mk varmod-to-separator.mk

   make: let the ":t" modifiers fall back to the ":from=to" modifier

   Suggested by https://bugs.freebsd.org/285726.

   This means that the ":t" modifiers cannot have future extensions that
   include a "=", as that may break existing code.
VersionDeltaFile
1.1154+13-26usr.bin/make/var.c
1.24+24-1usr.bin/make/unit-tests/varmod-sysv.mk
1.23+10-10usr.bin/make/unit-tests/varmod-to-separator.mk
1.46+8-8usr.bin/make/unit-tests/moderrs.mk
1.20+8-8usr.bin/make/unit-tests/varmod-to-separator.exp
1.52+7-7usr.bin/make/unit-tests/moderrs.exp
+70-601 files not shown
+72-627 files

NetBSD/src iBSRxORshare/man/man4 unix.4

   unix(4): Comma is wrong; semicolon is right.

   (Personally I would use an em dash here, but then I always render man
   pages with LC_ALL=C because UTF-8 output is screwy for various other
   reasons like rendering program options with characters other than
   standard hyphen `-' so searching for text like `-F' doesn't work.)
VersionDeltaFile
1.35+2-2share/man/man4/unix.4
+2-21 files

NetBSD/src 7B1SMWIlib/libc/gen ctype_.c ctype_guard.h

   ctype(3): Simplify definitions of ctype/tolower/toupper tables.

   Clarify comment while here.

   No functional change intended.  No change to `readelf -a' output on
   amd64 or aarch64.

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.23+5-7lib/libc/gen/ctype_.c
1.3+7-5lib/libc/gen/ctype_guard.h
1.17+3-4lib/libc/gen/tolower_.c
1.17+3-4lib/libc/gen/toupper_.c
+18-204 files

NetBSD/src Ev93dfuusr.bin/make var.c, usr.bin/make/unit-tests varmod-order.mk varmod-order.exp

   make: let unknown ":O" modifiers fall back to the ":from=to" modifier

   Inspired by https://bugs.freebsd.org/285726, which concerns the ":t"
   modifier instead.

   This means that future extensions to the ":O" modifier must not contain
   a "=" anywhere, otherwise they may break existing code.
VersionDeltaFile
1.19+11-17usr.bin/make/unit-tests/varmod-order.mk
1.18+9-11usr.bin/make/unit-tests/varmod-order.exp
1.1153+5-9usr.bin/make/var.c
1.22+5-5usr.bin/make/unit-tests/varparse-errors.mk
1.19+4-4usr.bin/make/unit-tests/varparse-errors.exp
1.24+2-2usr.bin/make/unit-tests/varmod.mk
+36-486 files

NetBSD/src ibAKmnntools Makefile.nbincludes

   Explicitly suppress an error message expected during bootstrap.
VersionDeltaFile
1.13+2-2tools/Makefile.nbincludes
+2-21 files

NetBSD/src qzZKuI0external/bsd/blocklist/lib bl.c

   Don't use strlcpy() because it will keep going trying to find the end of the
   input string (thanks riastradh)
VersionDeltaFile
1.8+4-4external/bsd/blocklist/lib/bl.c
+4-41 files

NetBSD/src 6OtmZI7doc 3RDPARTY

   doc: update entries for lutok, atf, kyua
VersionDeltaFile
1.2093+31-36doc/3RDPARTY
+31-361 files

NetBSD/src rEDZIXDlib/libc/gen isctype.c

   libc/isctype.c: Omit needless #include <assert.h>.

   Crept in during an earlier revision when I wrote this with
   _DIAGASSERT.  (I opted to unconditionally abort so that you get the
   feedback about undefined behaviour even if you don't run with
   LIBC_DIAGASSERT set in the environment.  Since it's undefined
   behaviour we are allowed to do this unconditionally, of course!)

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.28+2-3lib/libc/gen/isctype.c
+2-31 files

NetBSD/src STEUfZHusr.bin/make parse.c var.c, usr.bin/make/unit-tests varparse-errors.mk varparse-errors.exp

   make: in a stack trace with details and includes, list the current file
VersionDeltaFile
1.21+21-1usr.bin/make/unit-tests/varparse-errors.mk
1.739+5-4usr.bin/make/parse.c
1.1152+4-3usr.bin/make/var.c
1.18+7-0usr.bin/make/unit-tests/varparse-errors.exp
1.351+2-2usr.bin/make/make.h
+39-105 files

NetBSD/src OSiOM6Qlib/libc/gen ctype_.c ctype_guard.h

   libc: Restore ELF symbol sizes for _C_ctype_tab_ &c.

   This is needed for dynamic position-dependent executables that refer
   directly to _C_type_tab_ to get correct copy relocations to see the
   table content.

   Unfortunately, such executables won't get a guard page.

   Fortunately, referring to _C_ctype_tab_ directly (and not the
   indirection _ctype_tab_ as the ctype(3) macros do) is very weird and
   unlikely to happen in the real world (none of the public interfaces
   use it; it is exported for libc++.so/libstdc++.so to use, but those
   aren't pies).  So missing the guard page in this case is probably not
   so bad.

   The symbol sizes are also needed for, e.g., gdb to nicely identify
   addresses that lie in the table.

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.22+6-2lib/libc/gen/ctype_.c
1.2+6-1lib/libc/gen/ctype_guard.h
1.16+4-2lib/libc/gen/tolower_.c
1.16+4-2lib/libc/gen/toupper_.c
+20-74 files

NetBSD/src Rz0GGlqusr.bin/make/unit-tests varmod.mk varmod.exp

   tests/make: fix the documented modifier table

   The SysV column was largely incorrect or too unspecific, stating N/A
   when "no" was actually correct.

   The modifiers differ in whether they fall back to the ":from=to"
   modifier. The suggestion in https://bugs.freebsd.org/285726 to make more
   of the modifiers fall back to the ":from=to" modifier thus becomes
   nonobvious to decide.
VersionDeltaFile
1.23+52-33usr.bin/make/unit-tests/varmod.mk
1.20+24-22usr.bin/make/unit-tests/varmod.exp
+76-552 files

NetBSD/src 8YgwkAHlib/libc/gen ctype_guard.h ctype_.c, tests/lib/libc/gen t_ctype.c

   ctype(3): Put guard pages before the C ctype/tolower/toupper tables.

   This also only affects machines where char is signed for now.  (But
   maybe it would be worth doing unconditionally; users could still try
   to pass in explicit `signed char' inputs.)

   PR lib/58208: ctype(3) provides poor runtime feedback of abuse
VersionDeltaFile
1.1+163-0lib/libc/gen/ctype_guard.h
1.21+32-6lib/libc/gen/ctype_.c
1.15+22-4lib/libc/gen/tolower_.c
1.15+22-4lib/libc/gen/toupper_.c
1.10+2-10tests/lib/libc/gen/t_ctype.c
+241-245 files

NetBSD/src y95n9Tsusr.bin/make/unit-tests varmod-range.mk moderrs.mk

   make: add ":" to error message about unknown modifier

   In the manual page, the modifiers are listed with a preceding ":", so
   use the same pattern in the error message. This removes an inconsistency
   between the error messages "Unknown modifier" and "Bad modifier".
VersionDeltaFile
1.17+5-5usr.bin/make/unit-tests/varmod-range.mk
1.45+5-5usr.bin/make/unit-tests/moderrs.mk
1.23+5-5usr.bin/make/unit-tests/varmod-indirect.mk
1.19+4-4usr.bin/make/unit-tests/varmod-range.exp
1.34+4-4usr.bin/make/unit-tests/varmod-indirect.exp
1.51+4-4usr.bin/make/unit-tests/moderrs.exp
+27-2741 files not shown
+103-10347 files

NetBSD/src bdd8F2pusr.bin/make/unit-tests varmod-to-separator.mk

   tests/make: remove copy-and-paste errors from warning messages

   Several of the warnings didn't match what they actually tested, so
   remove them all to prevent further disagreements.
VersionDeltaFile
1.22+31-31usr.bin/make/unit-tests/varmod-to-separator.mk
+31-311 files

NetBSD/src MVh51C3sys/sys cpu_data.h

   CPU_COUNT() macro args are properly parenthesised when used.

   This will hopefully fix builds after recent changes to how KASSERT()
   uses its args.
VersionDeltaFile
1.57+2-2sys/sys/cpu_data.h
+2-21 files

NetBSD/src FnUC8Bqusr.bin/make var.c, usr.bin/make/unit-tests varmod-indirect.exp varmod-indirect.mk

   make: stop parsing after seeing an unknown modifier in an expression

   Previously, after an expression such as ${VAR:Z::::}, make detected the
   unknown modifier ":Z" and then continued parsing, which produced
   unnecessary follow-up error messages. It was also necessary to
   distinguish the error cases when logging the result of an applied
   modifier in -dv mode.

   Unify the error handling cases of a syntax error, an evaluation error
   and an unknown modifier, to avoid the unnecessary follow-up error
   messages.

   The test in varmod-edge.mk now produces ":}" from the erroneous
   expression, which may be misleading and thus will be looked at in a
   follow-up commit.

   The general idea of this patch was reviewed by sjg, I made a few
   nonsubstantial changes after the review.
VersionDeltaFile
1.33+15-17usr.bin/make/unit-tests/varmod-indirect.exp
1.1150+8-10usr.bin/make/var.c
1.22+4-7usr.bin/make/unit-tests/varmod-indirect.mk
1.31+3-6usr.bin/make/unit-tests/varmod-edge.exp
1.35+2-3usr.bin/make/unit-tests/varmod-edge.mk
1.41+2-3usr.bin/make/unit-tests/vardebug.exp
+34-463 files not shown
+36-569 files

NetBSD/src mbDhezCsys/sys cdefs.h

   __predict_true/false: Make these work with C++ too.

   Should fix build after recent assert.h change.

   error: no match for `operator!=' (operand types are `...' and `int')

   PR lib/59231: assert.h: missing branch prediction
VersionDeltaFile
1.164+10-3sys/sys/cdefs.h
+10-31 files

NetBSD/src orjKSc0usr.bin/make var.c, usr.bin/make/unit-tests moderrs.exp moderrs.mk

   make: fix error message for unclosed expression

   Even in an unclosed expression such as "${VAR:from=to", the modifier
   ":from=to" needs to be recognized as such, instead of giving an error
   message about an "Unknown modifier ":from=to"".
VersionDeltaFile
1.1149+9-9usr.bin/make/var.c
1.49+2-10usr.bin/make/unit-tests/moderrs.exp
1.43+3-5usr.bin/make/unit-tests/moderrs.mk
+14-243 files

NetBSD/src mZcBoX7usr.bin/make var.c, usr.bin/make/unit-tests moderrs.mk moderrs.exp

   make: add more details to error message about unfinished modifier

   These details allow to quickly see the place where the syntax error is,
   based on the surrounding lines from the stack trace.
VersionDeltaFile
1.42+20-20usr.bin/make/unit-tests/moderrs.mk
1.48+19-19usr.bin/make/unit-tests/moderrs.exp
1.1148+6-4usr.bin/make/var.c
1.34+3-3usr.bin/make/unit-tests/varmod-edge.mk
1.23+3-3usr.bin/make/unit-tests/varmod-sysv.mk
1.18+2-2usr.bin/make/unit-tests/varmod-sysv.exp
+53-513 files not shown
+58-569 files

NetBSD/src wU3uo9busr.bin/make var.c, usr.bin/make/unit-tests varmod-indirect.exp moderrs.exp

   make: add details about indirect modifiers to the stack traces

   Previously, the error message "Unfinished modifier (',' missing)" from
   moderrs.mk didn't provide enough context to understand where and why the
   comma was missing.
VersionDeltaFile
1.1147+6-2usr.bin/make/var.c
1.32+2-0usr.bin/make/unit-tests/varmod-indirect.exp
1.47+2-0usr.bin/make/unit-tests/moderrs.exp
1.19+1-0usr.bin/make/unit-tests/varmod.exp
+11-24 files

NetBSD/src 5H96ZXoshare/installboot/evbarm boards.plist

   Pull up following revision(s) (requested by gutteridge in ticket #1078):

        share/installboot/evbarm/boards.plist: revision 1.11

   evbarm/boards.plist: add three more boards

   FriendlyElec NanoPi R2S
   PineCube IP Camera
   TI AM335x BeagleBone Green
VersionDeltaFile
1.9.6.2+22-1share/installboot/evbarm/boards.plist
+22-11 files

NetBSD/src YTk9wdvdoc CHANGES-10.2

   Tickets #1073 - #1078
VersionDeltaFile
1.1.2.13+44-1doc/CHANGES-10.2
+44-11 files