NetBSD/src sMQ9xnlusr.sbin/syslogd Makefile

   syslogd: do not suppress lint warning about prototypes

   That warning was only useful when migrating from traditional C to C90.
VersionDeltaFile
1.40+6-2usr.sbin/syslogd/Makefile
+6-21 files

NetBSD/src RKdL8aWlib/libc/isc ev_timers.c Makefile.inc

   libc/isc: remove trailing semicolon from expression macro

   The semicolon triggered a lint warning about an unreachable 'empty'
   statement.
VersionDeltaFile
1.12+3-3lib/libc/isc/ev_timers.c
1.3+1-3lib/libc/isc/Makefile.inc
+4-62 files

NetBSD/src lgLPFahlib/libc/cdb Makefile.inc

   libc/cdb: remove obsolete lint warning

   That warning was only useful during migration from traditional C to C90.
VersionDeltaFile
1.6+2-2lib/libc/cdb/Makefile.inc
+2-21 files

NetBSD/src kqUmvo2external/bsd/top/dist utils.c commands.c, external/bsd/top/dist/machine m_netbsd.c

   sprintf/ctype police
VersionDeltaFile
1.8+13-11external/bsd/top/dist/utils.c
1.31+6-5external/bsd/top/dist/machine/m_netbsd.c
1.9+4-4external/bsd/top/dist/commands.c
1.11+2-2external/bsd/top/dist/display.c
+25-224 files

NetBSD/src LoQbGGZusr.bin/xlint/lint1 tree.c

   lint: restrict range of return values for several GCC builtins

   This reduces the amount of the 'loss of accuracy' warnings 132 and 298.
VersionDeltaFile
1.712+43-2usr.bin/xlint/lint1/tree.c
+43-21 files

NetBSD/src KyDjjV8external/mit/lua/lib/liblua Makefile

   liblua: sync description of lint messages with reality
VersionDeltaFile
1.15+3-5external/mit/lua/lib/liblua/Makefile
+3-51 files

NetBSD/src 9M6I2d5external/lgpl3/gmp/lib/libgmp Makefile

   libgmp: suppress the most common lint warnings

   Lint no longer issues warning 259 about prototypes, as that warning is
   only useful when migrating from traditional C to C90. In other
   scenarios, warning 298 about loss of accuracy has taken its place.
VersionDeltaFile
1.36+5-5external/lgpl3/gmp/lib/libgmp/Makefile
+5-51 files

NetBSD/src 2QSsNZTexternal/bsd/jemalloc/lib Makefile.inc

   libc/jemalloc: re-enable lint warning about unused static function

   Since 2024-09-28, lint properly recognizes constructors.
VersionDeltaFile
1.27+1-2external/bsd/jemalloc/lib/Makefile.inc
+1-21 files

NetBSD/src wPQWPVzexternal/bsd/top/dist utils.c

   <stype.h> "negative" char usage issue fixed.
VersionDeltaFile
1.7+1-1external/bsd/top/dist/utils.c
+1-11 files

NetBSD/src WevbUzpsys/arch/x68k/include opmreg.h

   x68k/opmreg.h: sync multiple-inclusion guard with filename

   The previous guard had a typo.
VersionDeltaFile
1.3+2-2sys/arch/x68k/include/opmreg.h
+2-21 files

NetBSD/src squQFAXsys/arch/arm/imx imx23_mmcreg.h

   arm/imx23_mmcreg.h: sync multiple-inclusion guard with filename

   The previous guard had a typo.
VersionDeltaFile
1.3+3-3sys/arch/arm/imx/imx23_mmcreg.h
+3-31 files

NetBSD/src cL0Efcdbin/sh var.c

   Fix an unlikely possible var sorting problem

   Now that CHECKSTRSPACE() is usable, use it when sorting var
   names (for "set" (no args or options) and similar uses (export -p etc))
   which sort the vars.   The previous use of STPUTC() was unsafe, as
   the buffer the name was being moved into could move that way, but nothing
   was allowing for that, possibly instead using the (only part completed and
   unterminated) old pre-move version of the name for use when comparing.

   The only likely effect would be incorrectly sorted vars in the output,
   and that would have been quite rare (and probably never happened), but
   now we can safely use CHECKSTRSPACE() for an arbitrary size, use that
   to ensure that the entire var name will fit without moving the string
   (and use USTPUTC() to guarantee that doesn't happen - and it is faster).

   While here, add lots of comments to explain what is going on, and why,
   in the var name comparison function (sort_var()), as at first glance,
   what it is doing looks absurd ... it just isn't.


    [3 lines not shown]
VersionDeltaFile
1.90+53-7bin/sh/var.c
+53-71 files

NetBSD/src L0oevmTbin/sh expand.c

   Remove CHECKSTACKSTR() defect workaround

   When reading the output from a command substitution, the code defers
   adding embedded \n's to the result (just counting them instead) until
   some other character appears - this effectively achieves the "trailing
   \n's are removed" semantic without needing to actually remove anything,
   as without a following char, the \n's aren't ever added.

   That's fine, but the number of \n's counted, that will need to be added when
   another char appears, is unbounded - and could be (and at least once, was)
   more than the old CHECKSTACKSTR() could handle.  To fix that, if the newline
   count was "too big" (arbitrarily set at 20) the code used a slow path, which
   avoided CHECKSTACKSTR() and was correct.

   Now CHECKSTACKSTR() has been fixed, that workaround is no longer required,
   so remove it.   Since long runs of embedded \n's don't often appear in
   command substitution output, avoiding the slow path is unlikely to make
   any noticeable speed difference, but not having that code at all makes the
   shell smaller - enough smaller to compensate for the minor increase that
   the CHECKSTACKSTR() correction added, and even a bit more.
VersionDeltaFile
1.151+6-25bin/sh/expand.c
+6-251 files

NetBSD/src ipLoEY9bin/sh memalloc.c memalloc.h

   Make CHECKSTRSPACE() do what it always should have done

   The CHECKSTRSPACE() macro is given a number 'n' of bytes,
   which it is intended to assure are to be available on the
   stack - allocating more space if needed.   The old macro
   checked to see if 'n' were available, and if not, allocated
   more space (which sounds right) - but with no specification
   of how much more space would be allocated, just a general
   hope that it would be enough.

   This then required additional workarounds whenever 'n' might
   be larger than "just a few", because it just wasn't safe (and
   had caused problems in the past).

   Now CHECKSTRSPACE() works as intended, though the actual change is
   to the makestrspace() function (used only from CHECKSTRSPACE()), which
   now gets told how much space is needed, so it can ensure that sufficient
   is provided, rather than just the generic "more".


    [15 lines not shown]
VersionDeltaFile
1.42+34-16bin/sh/memalloc.c
1.22+3-3bin/sh/memalloc.h
+37-192 files

NetBSD/src i5yQ04Gbin/sh expand.c parser.c

   Finally retire the ancient LINENO hack

   The original implementation of the POSIX required LINENO variable
   was a hideous hack, which didn't really work.   That was replaced
   in 2017, but the code for the hack was left present in case it was
   needed - with the enabling code #if'd out, but all the rest of the
   code unchanged - just impossible to be executed any more.

   This removes all of that ancient code (including that which
   was #if'd away), /bin/sh will get slightly smaller, and perhaps
   unmeasurably faster, there should be no other differences.
VersionDeltaFile
1.150+4-25bin/sh/expand.c
1.187+2-24bin/sh/parser.c
1.125+3-10bin/sh/jobs.c
1.60+2-4bin/sh/show.c
1.33+1-3bin/sh/parser.h
+12-665 files

NetBSD/src onvtNbFsys/arch/mips/include pmap.h

   spaces to tab
VersionDeltaFile
1.78+2-2sys/arch/mips/include/pmap.h
+2-21 files

NetBSD/src rAhfPX3sys/dev/ic bcmgenet.c

   Use BUS_ADDR_{LO,HI}32.

   No code difference for arm64 and will compile on for arm32
VersionDeltaFile
1.24+6-6sys/dev/ic/bcmgenet.c
+6-61 files

NetBSD/src zqKQOCBsys/arch/m68k/include pmap_coldfire.h

   Fix a typo in the multiple inclusion protection #define
VersionDeltaFile
1.7+2-2sys/arch/m68k/include/pmap_coldfire.h
+2-21 files

NetBSD/src ekQLr7rsys/dev/usb if_ure.c

   if_ure.c: support pause frames with 8153* variants
VersionDeltaFile
1.64+5-2sys/dev/usb/if_ure.c
+5-21 files

NetBSD/src aJy9WaUetc services

   PR 60076: Add iprop as a local addition to services file.

   Inspired by `man ipropd-master`.
   Comment is the same as hprop.
VersionDeltaFile
1.108+2-1etc/services
+2-11 files

NetBSD/src upilJ58share/mk bsd.own.mk

   Switch everyone to jemalloc.old
VersionDeltaFile
1.1475+3-3share/mk/bsd.own.mk
+3-31 files

NetBSD/src Y6AEIp7external/bsd/jemalloc.old/lib Makefile.inc Makefile

   merge conflicts
VersionDeltaFile
1.6+64-39external/bsd/jemalloc.old/lib/Makefile.inc
1.3+1-1external/bsd/jemalloc.old/lib/Makefile
+65-402 files

NetBSD/src e0QyVYWexternal/bsd/jemalloc.old/dist configure, external/bsd/jemalloc.old/dist/build-aux config.sub

   Import the current jemalloc to jemalloc.old
VersionDeltaFile
1.1.1.2+2,593-493external/bsd/jemalloc.old/dist/configure
1.1.1.2+1,973-829external/bsd/jemalloc.old/dist/src/jemalloc.c
1.1.1.2+1,335-1,305external/bsd/jemalloc.old/dist/build-aux/config.sub
1.1.1.2+314-2,046external/bsd/jemalloc.old/dist/src/prof.c
1.1.1.2+742-1,594external/bsd/jemalloc.old/dist/src/extent.c
1.1.1.2+1,915-384external/bsd/jemalloc.old/dist/src/ctl.c
+8,872-6,651741 files not shown
+68,653-18,115747 files

NetBSD/src QNWPfJFshare/man/man4 rum.4

   rum.4: modernize statement about MIMO and IEEE 802.11n

   Issue noted by Andrew Ball in PR kern/60197.
VersionDeltaFile
1.12+4-5share/man/man4/rum.4
+4-51 files

NetBSD/src Bw6zyMbexternal/mit/ctwm/libexec ctwm_app_menu

   ctwm_app_menu: Handle whitespace around equals sign in ini files

   from Robert Whitlock

   PR xsrc/60198 ctwm_app_menu doesn't consder whitespace
VersionDeltaFile
1.8+16-6external/mit/ctwm/libexec/ctwm_app_menu
+16-61 files

NetBSD/src Kz6l2WUsys/arch/aarch64/aarch64 pmap_machdep.c

   Add ref/mod emulation PMAP_COUNTERs
VersionDeltaFile
1.12+9-2sys/arch/aarch64/aarch64/pmap_machdep.c
+9-21 files

NetBSD/src 3qz6Kzbsys/arch/aarch64/aarch64 pmap_machdep.c

   g/c
VersionDeltaFile
1.11+3-4sys/arch/aarch64/aarch64/pmap_machdep.c
+3-41 files

NetBSD/src ijRVI1Kdistrib/notes/evbarm install

   evbarm: Update install instructions.

   Recommend using installboot to install u-boot.
VersionDeltaFile
1.19+14-26distrib/notes/evbarm/install
+14-261 files

NetBSD/src ft3nL5eexternal/bsd/fetch/dist/libfetch common.c

   libfetch: remove HAVE_POLL section again

   the problem was the missing HAVE_POLL_H definition, now fixed
VersionDeltaFile
1.13+3-43external/bsd/fetch/dist/libfetch/common.c
+3-431 files

NetBSD/src WG5Egtmexternal/bsd/fetch/lib Makefile

   libfetch: remove trailing whitespace, define HAVE_POLL_H
VersionDeltaFile
1.20+3-2external/bsd/fetch/lib/Makefile
+3-21 files