NetBSD/src MhNLwK0usr.bin/make var.c

   make: fix comment about forcing a use-after-free

   The previous expression didn't cause any bug, as the modifier
   ':@VAR at loop@' changed the value of the expression, thus making the
   expression independent from the variable value.

   Instead, the variable needs to be deleted from within an indirect
   modifier, and that modifier needs to evaluate to an empty string, thus
   doing nothing and preserving the original expression value.
VersionDeltaFile
1.1107+3-3usr.bin/make/var.c
+3-31 files

NetBSD/src N28PTGIusr.bin/make arch.c var.c, usr.bin/make/unit-tests depsrc-nopath.mk depsrc-end.mk

   make: clean up, test .NOPATH

   Trim down the comments in the archive module, as they mainly repeated
   the code.  Trim down the binary code size in the archive module, as it
   is rarely used.

   In Var_Parse, delay two variable assignments until they are actually
   needed.
VersionDeltaFile
1.217+62-181usr.bin/make/arch.c
1.1106+13-20usr.bin/make/var.c
1.3+22-3usr.bin/make/unit-tests/depsrc-nopath.mk
1.332+7-1usr.bin/make/make.h
1.470+3-3usr.bin/make/job.c
1.2+2-2usr.bin/make/unit-tests/depsrc-end.mk
+109-2102 files not shown
+113-2118 files

NetBSD/src qIkQtWMusr.bin/make/unit-tests archive.mk archive.exp

   tests/make: test detection of static library files
VersionDeltaFile
1.13+32-1usr.bin/make/unit-tests/archive.mk
1.8+8-0usr.bin/make/unit-tests/archive.exp
+40-12 files

NetBSD/src HwQ7IO2usr.bin/make targ.c arch.c

   make: simplify freeing of lists
VersionDeltaFile
1.181+10-7usr.bin/make/targ.c
1.216+8-5usr.bin/make/arch.c
1.613+6-6usr.bin/make/main.c
1.105+4-7usr.bin/make/lst.h
1.108+4-4usr.bin/make/lst.c
1.722+3-3usr.bin/make/parse.c
+35-321 files not shown
+37-347 files

NetBSD/src LIHSe6jshare/man/man4 thinkpad.4

   mention that we handle battery controls too.
VersionDeltaFile
1.5+4-4share/man/man4/thinkpad.4
+4-41 files

NetBSD/src qSBPXRWsys/dev/acpi thinkpad_acpi.c

   Expose a sysctl interface hw.acpi.thinkpad<M>.bat[<N>].<behavior> to control
   some aspects of battery charging behavior on supported systems:

       charge_start
        threshold below which to start charging (in %, 0-99)

       charge_stop
        threshold above which to stop charging (in %, 1-100)

       force_discharge
        discharge while on AC power, e.g., for calibration

       charge_inhibit
        inhibit charging while on AC power

   From Malte Dehling
VersionDeltaFile
1.57+341-2sys/dev/acpi/thinkpad_acpi.c
+341-21 files

NetBSD/src zkzi2ohsys/dev/acpi thinkpad_acpi.c

   thinkpad cosmetic patches (Malte Dehling)
VersionDeltaFile
1.56+29-28sys/dev/acpi/thinkpad_acpi.c
+29-281 files

NetBSD/src HFEI9yFetc/etc.vax MAKEDEV.conf

   Disable dmf* and dmz* entries and add warns "not integrated yet."

   Also note tty[EFGH]? have been used by MI wscons and new tty node names
   should be assigned once dmf(4) is committed.

   Ok'ed by ragge@ on port-vax@.
    https://mail-index.netbsd.org/port-vax/2024/02/13/msg004859.html
VersionDeltaFile
1.21+27-22etc/etc.vax/MAKEDEV.conf
+27-221 files

NetBSD/src bML1xZvtests/usr.bin/xlint/lint1 queries.c, usr.bin/xlint/lint1 tree.c

   lint: converting a null pointer to another pointer type is not narrowing
VersionDeltaFile
1.637+4-3usr.bin/xlint/lint1/tree.c
1.29+3-1tests/usr.bin/xlint/lint1/queries.c
+7-42 files

NetBSD/src cPvJk2Utests/usr.bin/xlint/lint1 queries.c t_usage.sh, usr.bin/xlint/lint1 tree.c err.c

   lint: add query for conversion from void pointer to other pointer
VersionDeltaFile
1.28+28-11tests/usr.bin/xlint/lint1/queries.c
1.636+8-2usr.bin/xlint/lint1/tree.c
1.20+4-4tests/usr.bin/xlint/lint1/t_usage.sh
1.241+3-2usr.bin/xlint/lint1/err.c
+43-194 files

NetBSD/src MFWTPXasys/arch/mips/include float.h

   mips: fix syntax error in LDBL_MAX (since 2011)
VersionDeltaFile
1.19+2-2sys/arch/mips/include/float.h
+2-21 files

NetBSD/src JJdsmMvsys/dev/acpi acpi_bat.c

   Remove 0 initializations (since the softc is zalloc'ed) and the initial
   refresh which will have no data.
VersionDeltaFile
1.123+3-11sys/dev/acpi/acpi_bat.c
+3-111 files

NetBSD/src L3589HXusr.sbin/crash Makefile

   Add ${TOOL_DATE} (Jan-Benedict Glaw)
VersionDeltaFile
1.51+2-2usr.sbin/crash/Makefile
+2-21 files

NetBSD/src DeNVvHolibexec/httpd dir-index-bozo.c

   Create mobile-friendly directory listings

   A typical mobile browser on a smartphone assumes a page without a "viewport"
   <meta> tag is designed for desktop browsers. It displays the page in a
   virtual window that simulates a wider screen and does not adjust it for
   the phone's pixel density. The usual result is that the content on the page
   looks small, and interacting with the page comfortably and precisely requires
   zoom. This is currently the case with bozohttpd directory listing pages.

   from D. Bohdan in PR bin/57962
VersionDeltaFile
1.37+2-1libexec/httpd/dir-index-bozo.c
+2-11 files

NetBSD/src VGDkmx2usr.sbin/fstyp Makefile

   PR/58202: Malte Dehling: Don't link libzfs
VersionDeltaFile
1.15+3-2usr.sbin/fstyp/Makefile
+3-21 files

NetBSD/src YoT4Cx6sys/dev/acpi acpi_bat.c

   PR/58201: Malte Dehling: re-order sysmon initialization before acpi
   registration, to avoid needing to call to acpi_deregister_notify on sysmon
   failure.
VersionDeltaFile
1.122+5-6sys/dev/acpi/acpi_bat.c
+5-61 files

NetBSD/src 85s8P1Uetc Makefile

   PR/58200: Kouichi Hashikawa: ./makeobsolete uses platform's sed
VersionDeltaFile
1.470+3-3etc/Makefile
+3-31 files

NetBSD/src 6B3WPjU. BUILDING, doc BUILDING.mdoc

   BUILDING: fix typo
VersionDeltaFile
1.150+2-2doc/BUILDING.mdoc
1.161+1-1BUILDING
+3-32 files

NetBSD/src p43MjxNdistrib/amd64/cdroms Makefile.cdrom, distrib/amd64/cdroms/installdvd Makefile

   Remove modules set from the i386 install cd

   It is not particularly useful to be able to load modules while
   installing on i386, probably the most useful one is dtrace,
   and this takes up about 20mb on a port that is already exceeding
   CD limits. Most stuff you'd want to use while installing is already
   in GENERIC.

   The modules set is still available compressed for installing into
   a target system, meaning modules are available after installation.

   While here, add man set to the installation DVD, it's helpful to be able
   to read e.g. the man page for fdisk when rescuing a system.
VersionDeltaFile
1.2+9-1distrib/i386/cdroms/installdvd/Makefile
1.43+2-5distrib/i386/cdroms/Makefile.cdrom
1.2+5-1distrib/amd64/cdroms/installdvd/Makefile
1.2+4-1distrib/sparc64/cdroms/installdvd/Makefile
1.28+2-2distrib/amd64/cdroms/Makefile.cdrom
+22-105 files

NetBSD/src 8NVoI2Rexternal/mit/xorg/lib/dri Makefile

   dri: disable lint
VersionDeltaFile
1.41+3-1external/mit/xorg/lib/dri/Makefile
+3-11 files

NetBSD/src DWWwLIVusr.bin/make job.c, usr.bin/make/unit-tests opt-debug-errors-jobs.exp

   make: in parallel mode, print the directory in which a job failed

   When multiple targets run in parallel, the "stopped in" line may be
   several lines away from the "Failed target" line, making them hard to
   correlate.
VersionDeltaFile
1.5+6-0usr.bin/make/unit-tests/opt-debug-errors-jobs.exp
1.469+3-2usr.bin/make/job.c
+9-22 files

NetBSD/src Ynu8ubEexternal/mit/xorg/lib/gallium Makefile

   gallium: disable lint
VersionDeltaFile
1.54+3-1external/mit/xorg/lib/gallium/Makefile
+3-11 files

NetBSD/src 1N9Z9Xotests/bin/cp t_cp.sh

   tests/cp: clean up

   Replace the deprecated "eq:0" with "exit:0", remove redundant "-o empty"
   and "-e empty".
VersionDeltaFile
1.2+27-27tests/bin/cp/t_cp.sh
+27-271 files

NetBSD/src ylKX9h7sys/arch/mac68k/dev pm_direct.c

   Return early if PM data is not available.

   This avoids random crashes on my Powerbook when using the mouse or keyboard.

   The same was needed for the Powerbook 5xx/Duos (compile tested only).

   XXX pullup-10, pullup-9, pullup-8.
VersionDeltaFile
1.31+4-2sys/arch/mac68k/dev/pm_direct.c
+4-21 files

NetBSD/src 9yfOcpftests/bin/cat t_cat.sh

   tests/cat: clean up

   Multiple arguments to atf_set are joined by spaces, there's no need for
   an extra space.

   The exit status on success must be 0, so don't ignore it.

   Remove the unnecessary shell wrapper, as no redirection is going on.
VersionDeltaFile
1.4+10-10tests/bin/cat/t_cat.sh
+10-101 files

NetBSD/src 0D5tSikdoc CHANGES

   CHANGES: fix typo
VersionDeltaFile
1.3051+4-4doc/CHANGES
+4-41 files

NetBSD/src J5iBEnqdistrib/common Makefile.bootcd, distrib/common/bootimage Makefile.installimage

   remove redundant kernels and floppies from the space-starved i386 ISO
VersionDeltaFile
1.12+16-1distrib/i386/cdroms/installcd/Makefile
1.11+3-2distrib/common/bootimage/Makefile.installimage
1.48+2-2distrib/common/Makefile.bootcd
+21-53 files

NetBSD/src lvpTTaausr.sbin/sysinst msg.mi.pl msg.mi.de

   Increase length of set description to 40 characters so recent additions fit.

   Ok: martin@

   Fixes PR install/58188 "sysinst fails to display status of base32 set"
VersionDeltaFile
1.49+3-3usr.sbin/sysinst/msg.mi.pl
1.48+3-3usr.sbin/sysinst/msg.mi.de
1.51+3-3usr.sbin/sysinst/msg.mi.en
1.43+3-3usr.sbin/sysinst/msg.mi.es
1.77+3-3usr.sbin/sysinst/util.c
+15-155 files

NetBSD/src cQCFDPfsys/dev/usb uftdi.c

   Add a match quirk to prevent matching any interface on SiPEED FPGA
   development boards (e.g. Tang Nano 9K).  The FT2232s on these boards
   are wired up only for JTAG.
VersionDeltaFile
1.79+16-4sys/dev/usb/uftdi.c
+16-41 files

NetBSD/src 6OVKwZuusr.sbin/makefs walk.c

   makefs: fix out-of-bounds fsnode count in fsnode_sort

   Found by running './makefs img.dat cd9660'.

   While here, apply more KNF.
VersionDeltaFile
1.39+6-7usr.sbin/makefs/walk.c
+6-71 files