FreeBSD/src 8e987f8lib/libc/stdlib realpath.3

realpath: Improve manual page

* Try to make the RETURN VALUES section flow better.

* Add basename(3), dirname(3), free(3) to the SEE ALSO section.

* Drop the CAVEATS section, which was obsolete the moment realpath(3)
  was added to the Single Unix Specification in 1994.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55928

(cherry picked from commit 1aecb32021ce46d812db36b9037cdc6f423575f9)
DeltaFile
+12-24lib/libc/stdlib/realpath.3
+12-241 files

FreeBSD/src f174c04lib/libc/stdlib realpath.c

realpath: Improve prev_len logic

* Save prev_len after having checked for and appended a trailing slash,
  not before.  This requires us to back up if we end up returning a
  partial result, but previously we would sometimes return a partial
  result with a trailing slash and sometimes without.

* Replace strlcat() with a faster strlcpy() since we know exactly how
  far into the buffer we are.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55914

(cherry picked from commit 99d295e471bc362a7927047c89472e1ee2d0da6b)
DeltaFile
+7-3lib/libc/stdlib/realpath.c
+7-31 files

FreeBSD/src 41474e7usr.bin/m4 eval.c look.c

m4: Misc style fixes

MFC after:      1 week

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D55794
DeltaFile
+9-9usr.bin/m4/eval.c
+9-8usr.bin/m4/look.c
+5-7usr.bin/m4/misc.c
+2-3usr.bin/m4/main.c
+1-1usr.bin/m4/mdef.h
+1-1usr.bin/m4/expr.c
+27-296 files

FreeBSD/src f8f6f1cusr.bin/m4 eval.c mdef.h

m4: Stop abbreviating builtin names

* Stop abbreviating macro names half-randomly to 8 chars, this is no
  longer 1990.

* Likewise for function names (in particular use doindex for a function
  that is notably different from the classic index function).

* Rename a few things for more fidelity: eval is the builtin name, not
  expr and your maketemp/mkstemp conform to mkstemp semantics for better
  security.

* Rewrap a few comments that were ludicrously short.

No functional changes except improved accuracy of some error messages.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55793
DeltaFile
+86-98usr.bin/m4/eval.c
+44-44usr.bin/m4/mdef.h
+33-32usr.bin/m4/main.c
+3-3usr.bin/m4/look.c
+1-1usr.bin/m4/misc.c
+1-1usr.bin/m4/extern.h
+168-1796 files

LLVM/project b60a39elld/test/wasm/lto thinlto-shared-memory-atomics.ll, lld/wasm LTO.cpp

[lld][WebAssembly] Propagate +atomics for ThinLTO when using --shared-memory (#188381)

When compiling WebAssembly with ThinLTO, functions are partitioned into
isolated `.bc` modules and dispatched to individual LTO backend threads.
During code generation, the `CoalesceFeaturesAndStripAtomics` pass
iterates over the module to gather the union of target features (like
`+atomics`) attached to defined functions. In particular when not using
threads, it lowers away atomics and TLS variables to their
single-threaded equivalents.

However, if a partitioned module only contains globally defined TLS
variables (e.g. there are no functions, or all functions were fully
inlined or stripped by dropDeadSymbols before ThinLTO optimization), the
module becomes completely devoid of function definitions. The coalescing
pass then falls back to fetching features from the `TargetMachine`.
Because in LTO the `TargetMachine` defaults to a generic target without
atomics enabled, the TLS is lowered away and the `wasm-feature-atomics`
flag is omitted from the resulting ThinLTO object partition, causing
`wasm-ld` to immediately reject it.

    [8 lines not shown]
DeltaFile
+40-0lld/test/wasm/lto/thinlto-shared-memory-atomics.ll
+13-0lld/wasm/LTO.cpp
+53-02 files

HardenedBSD/src 8243aa2. ObsoleteFiles.inc, sys/netinet tcp_usrreq.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+113-0tests/sys/netinet/tcp_socket.c
+0-80tests/sys/netinet/tcp_implied_connect.c
+8-8sys/netinet/tcp_usrreq.c
+5-4sys/security/mac_do/mac_do.c
+3-0ObsoleteFiles.inc
+1-1tests/sys/netinet/Makefile
+130-936 files

HardenedBSD/src d6f1ba1. ObsoleteFiles.inc, sys/netinet tcp_usrreq.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+113-0tests/sys/netinet/tcp_socket.c
+0-80tests/sys/netinet/tcp_implied_connect.c
+8-8sys/netinet/tcp_usrreq.c
+5-4sys/security/mac_do/mac_do.c
+3-0ObsoleteFiles.inc
+1-1tests/sys/netinet/Makefile
+130-936 files

LLVM/project aafe5bdlibc/src/__support/wctype perfect_hash_map.h

fix bitwidth
DeltaFile
+2-2libc/src/__support/wctype/perfect_hash_map.h
+2-21 files

HardenedBSD/ports e99596cdeskutils/readur distinfo Makefile.crates, graphics/colmap pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+95-93deskutils/readur/distinfo
+116-34graphics/colmap/pkg-plist
+45-44deskutils/readur/Makefile.crates
+0-51net/kamailio/files/patch-cmake_compiler-specific.cmake
+39-0textproc/krep/files/patch-krep.c
+34-0net/kamailio/files/patch-cmake_modules_FindUnistring.cmake
+329-22272 files not shown
+674-51178 files

LLVM/project 6708e82libc/src/__support/wctype perfect_hash_map.h

bit field
DeltaFile
+2-2libc/src/__support/wctype/perfect_hash_map.h
+2-21 files

LLVM/project dd9885cclang-tools-extra/clang-tidy/modernize UseStdFormatCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add missing #include insertion in macros for modernize-use-std-format (#188247)

Added missing ``#include`` insertion when the format function call
appears as an argument to a macro.

Part of #175183

---------

Co-authored-by: Victor Chernyakin <chernyakin.victor.j at outlook.com>
DeltaFile
+21-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-macro.cpp
+6-2clang-tools-extra/docs/ReleaseNotes.rst
+2-2clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
+29-43 files

Linux/linux bbeb83d. Makefile, scripts/kconfig merge_config.sh

Merge tag 'kbuild-fixes-7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nathan Chancellor:
 "This mostly addresses some issues with the awk conversion in
  scripts/kconfig/merge_config.sh.

   - Fix typo to ensure .builtin-dtbs.S is properly cleaned

   - Fix '==' bashism in scripts/kconfig/merge_config.sh

   - Fix awk error in scripts/kconfig/merge_config.sh when base
     configuration is empty

   - Fix inconsistent indentation in scripts/kconfig/merge_config.sh"

* tag 'kbuild-fixes-7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  scripts: kconfig: merge_config.sh: fix indentation
  scripts: kconfig: merge_config.sh: pass output file as awk variable
  scripts: kconfig: merge_config.sh: fix unexpected operator warning
  kbuild: Delete .builtin-dtbs.S when running make clean
DeltaFile
+10-14scripts/kconfig/merge_config.sh
+1-1Makefile
+11-152 files

LLVM/project 9ecae70libc/test/src/__support/wctype wctype_perfect_hash_test.cpp

fix tests
DeltaFile
+12-6libc/test/src/__support/wctype/wctype_perfect_hash_test.cpp
+12-61 files

GhostBSD/ports 82651accad/OrcaSlicer pkg-plist, cad/kicad-library-packages3d pkg-plist

Merge remote-tracking branch 'freebsd/main'
DeltaFile
+9,657-827net/dpdk/pkg-plist
+10,268-0cad/OrcaSlicer/pkg-plist
+56-6,863cad/kicad-library-packages3d/pkg-plist
+3,304-3,122graphics/gimp3-app/pkg-plist
+0-4,767graphics/blender-doc/pkg-plist
+1,787-2,092x11/waveterm/files/packagejsons/package-lock.json
+25,072-17,6717,623 files not shown
+162,725-84,1177,629 files

NetBSD/pkgsrc 4yX4wzxtextproc/libfyaml Makefile

   libfyaml: disable optimizations on i386, fixes build for NetBSD.

   This includes code that seems to be written for x86-64.
   Switching to the "portable" version is a quick working way to avoid that
   code.

   Note that the meaning of "portable" here means "compiling with some Windows
   compiler that doesn't like the syntax". This package does appear to do
   run-time detection of features before it is used, and most users wouldn't
   want to use the portable flag.
VersionDeltaFile
1.10+9-1textproc/libfyaml/Makefile
+9-11 files

FreeBSD/ports 780c77adeskutils/readur distinfo Makefile.crates

deskutils/readur: Update to 2.7.8

ChangeLog: https://github.com/readur/readur/releases/tag/v2.7.8
DeltaFile
+95-93deskutils/readur/distinfo
+45-44deskutils/readur/Makefile.crates
+2-2deskutils/readur/pkg-plist
+1-2deskutils/readur/Makefile
+143-1414 files

HardenedBSD/ports 780c77adeskutils/readur distinfo Makefile.crates

deskutils/readur: Update to 2.7.8

ChangeLog: https://github.com/readur/readur/releases/tag/v2.7.8
DeltaFile
+95-93deskutils/readur/distinfo
+45-44deskutils/readur/Makefile.crates
+2-2deskutils/readur/pkg-plist
+1-2deskutils/readur/Makefile
+143-1414 files

HardenedBSD/ports ac0b41bdevel/lace distinfo Makefile, devel/lace/files patch-CMakeLists.txt patch-benchmarks_CMakeLists.txt

devel/lace: update 2.2.2 → 2.2.3
DeltaFile
+0-31devel/lace/files/patch-CMakeLists.txt
+0-10devel/lace/files/patch-benchmarks_CMakeLists.txt
+3-3devel/lace/distinfo
+1-4devel/lace/Makefile
+4-484 files

HardenedBSD/ports d1d6704finance/hs-hledger-ui Makefile

finance/hs-hledger-ui: Broken on 16: ghc SEGVs

Reported by:    fallout
DeltaFile
+2-0finance/hs-hledger-ui/Makefile
+2-01 files

FreeBSD/ports ac0b41bdevel/lace distinfo Makefile, devel/lace/files patch-CMakeLists.txt patch-benchmarks_CMakeLists.txt

devel/lace: update 2.2.2 → 2.2.3
DeltaFile
+0-31devel/lace/files/patch-CMakeLists.txt
+0-10devel/lace/files/patch-benchmarks_CMakeLists.txt
+3-3devel/lace/distinfo
+1-4devel/lace/Makefile
+4-484 files

FreeBSD/ports d1d6704finance/hs-hledger-ui Makefile

finance/hs-hledger-ui: Broken on 16: ghc SEGVs

Reported by:    fallout
DeltaFile
+2-0finance/hs-hledger-ui/Makefile
+2-01 files

HardenedBSD/ports 68d022bscience/sirius distinfo Makefile

science/sirius: update 7.9.0 → 7.10.0
DeltaFile
+3-3science/sirius/distinfo
+2-2science/sirius/Makefile
+5-52 files

FreeBSD/ports 68d022bscience/sirius distinfo Makefile

science/sirius: update 7.9.0 → 7.10.0
DeltaFile
+3-3science/sirius/distinfo
+2-2science/sirius/Makefile
+5-52 files

LLVM/project d2dab97llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV bool-vector-bitcast.ll

[SPIR-V] Decompose bitcasts involving bool vectors (#187960)

OpTypeBool has no defined bitwidth in SPIR-V, so OpBitcast is invalid
for boolean vector types. Decompose `<N x i1> <-> iN` bitcasts into
element-wise extract/shift/OR and AND/icmp/insert sequences during IR
preprocessing.

Fixes:
https://github.com/kuhar/iree/blob/amdgcn-spirv/spirv-repros/bitcast_crash.ll
and https://github.com/llvm/llvm-project/issues/185815
DeltaFile
+364-0llvm/test/CodeGen/SPIRV/bool-vector-bitcast.ll
+80-0llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+66-0llvm/test/CodeGen/SPIRV/llvm-intrinsics/masked-load-store.ll
+510-03 files

LLVM/project 9d7e716libc/src/__support/wctype perfect_hash_map.h lower_to_upper.h, libc/utils/wctype_utils/conversion hex_writer.py

fix windows build errors
DeltaFile
+16-14libc/src/__support/wctype/perfect_hash_map.h
+2-2libc/utils/wctype_utils/conversion/hex_writer.py
+1-1libc/src/__support/wctype/lower_to_upper.h
+1-1libc/src/__support/wctype/upper_to_lower.h
+1-1libc/src/__support/wctype/CMakeLists.txt
+21-195 files

LLVM/project 2a74c82llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.h AMDGPUCoExecSchedStrategy.cpp

Formatting

Change-Id: I3d89fba145471141ef945b1de15330caa245e82d
DeltaFile
+4-4llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+4-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+8-72 files

LLVM/project f4180a7llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp AMDGPUCoExecSchedStrategy.h, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll

Claude Code review

Change-Id: Iab06de2981b27667cc29a56931dd378ecf7a1b0c
DeltaFile
+115-109llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+16-26llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+5-0llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+136-1353 files

LLVM/project 710c2f0llvm/unittests/SandboxIR TrackerTest.cpp

[SandboxIR][Tracker] Test UncondBrInst CondBrInst setters (#187549)

This checks the `setCondition()` and `setSuccessor()` setters introduced
in #187196.
DeltaFile
+78-0llvm/unittests/SandboxIR/TrackerTest.cpp
+78-01 files

LLVM/project 2a7b0f0lldb/bindings/python python-wrapper.swig

[lldb] use the Py_REFCNT() macro instead of directly accessing member (#188161)

[PyObject members are not to be accessed
directly](https://docs.python.org/3/c-api/structures.html#c.PyObject),
but rather through macros, in this case `Py_REFCNT()`.

In most, ie Global Interpreter Lock-enabled, CPython cases,
`Py_REFCNT()` expands to accessing `ob_refcnt` anyway. However, in a
free-threaded CPython, combined with disabling the limited API (since it
requires the GIL for now), the direct member does not exist, causing the
build to fail. The macro expands to the correct access method in the
free-threaded configuration.
DeltaFile
+1-1lldb/bindings/python/python-wrapper.swig
+1-11 files

OpenBSD/ports rMSk9ppnet/telemt distinfo crates.inc, net/telemt/pkg PLIST README

   update to telemt 3.3.31
VersionDeltaFile
1.2+336-164net/telemt/distinfo
1.2+167-81net/telemt/crates.inc
1.2+1-1net/telemt/Makefile
1.2+0-1net/telemt/pkg/PLIST
1.2+1-0net/telemt/pkg/README
+505-2475 files