3.31: 2026-02-07::
ChatGPT 5.2 patches to hrden code against UB.
Manual page is now spellchecked.
3.30: 2024-05-27::
Back out mistaken correction of "Start of Heading."
Markup fix.
3.20: 2024-02-16::
Do two user requests for more informative handling of CLI flags.
3.19: 2024-02-07::
Accept 7-bit binary literals, with 0b prefix.
Accept names of POSIX character classes.
linux_file.c: Fix handling of NFS getdents() emulation
Bugzilla PR#292282 reports a problem, where a Linux
binary running in the Linuxulator gets bogus entries
in a readdir()/getdents() reply when the directory is
an NFS mount.
This appears to be caused by the NFS client including
entries with d_fileno == 0, which are always ignored by
BSD, but are not ignored by Linux.
This patch filters out the "d_fileno == 0" entries and
the reporter of the bugzilla PR notes that it fixes the
problem for him.
It could be argued that the NFS client should filter out
the "d_fileno == 0" entries, but the NFS client readdir
code is "fragile" and any change to it runs a significant
risk of causing regression type problems.
[9 lines not shown]
[AMDGPU][SIInsertWaitcnts][NFC] Make a few WaitcntBracket member functions private (#180018)
The user of the WaitcntBrackets class shouldn't need to know about how
the scoreboard has been implemented internally. So I think it is best to
provide a higher level API that hides things like scoreUB, scoreLB and
score ranges.
This patch makes getScoreUB(), getScoreLB() and getScoreRange() private
and introduces new functions that don't expose the internal
implementation:
- getOutstanding(T)
- hasPendingVMEM(VMEMID, T)
- empty(T)
I also noticed that getSGPRScore() and getVMemScore() are not used
externally so these are now private.
accf_*.9: Rewrite broken synopsis
These manuals abused the name macro for every line of kernel cfg as well
as an example command to show the module name which was mixed in without
separation. This bugs the whatis database into thinking that `INET` and
`kldload` are names for this page, and violates best practice by mixing
commands and configuration in a continuous example.
Rewrite to use the kernel configuration macro, Cd, and show the module
name via an example configuration in rc.conf, according to the spec and
established practice. Do not bump the date because these markup errors
are not a content change.
MFC after: 3 days
pdflib-lite: macosx: include math.h rather than deprecated fp.h
On a mac the bundled png file libs/png/pngconf.h may attempt to
include the deprecated <fp.h> file in some cases (should fail
with a fatal file not found error). This is controlled by
the "MACOS" define in pngconf.h (note that "MACOSX" is defined
elsewhere... "MACOS" only appears in pngconf.h). On MACOSX
we can include <math.h> instead of <fp.h> to avoid the fatal
error. (when compiling on my older macbook I found that "MACOS"
was not getting defined because TARGET_OS_MAC was not define, so
it did not attempt to include fp.h and fail. compiling on my
newer macbook does get the error.)
sysutils/logrotate: Fix Logrotate to work by default
If the file /var/log/lastlog is missing, logrotate fails, even if other
configs are available.
Add "missingok" to this block so other logrorate blocks located in
${PREFIX}/etc/logrotate.d/ will function as expected when that one file
is unavailable.
While here remove unnecessary GNU_CONFIGURE_MANPREFIX.
PR: 293024
Pull Request: https://github.com/freebsd/freebsd-ports/pull/472/
Revert "acpi: Make taskqueue only run on BSP"
This change causes some ACPI problems, such as power button events being
processed even if just used for resume.
This reverts commit c0df8f6f0e6a5f77ec9140e8075d09c55fe4c3c7.
mkimage: Write one block of padding up to 4MB.
Previously we wrote padding one byte at a time, which takes a while
when it's nearly 4MB of padding!
I believe these dd(1) options are POSIX-compliant. If the read from
/dev/zero is truncated, then conv=sync means it will be padded with
NUL bytes rather than reading more -- but that's fine; that's what we
would get by reading from /dev/zero anyway!
(Why did I make this round to a multiple of 4MB and _then_ add 1MB,
rather than the other way around of adding 1MB and then rounding to a
multiple of 4MB?)
No correctness change intended -- but this should improve performance
of the image build a little bit!
[VPlan] Compute predicated load/store costs in VPlan. (NFC) (#179129)
Update VPReplicateReicpe::computeCost to compute predicated load/store
costs directly, unless the pointer is uniform. In that case, the legacy
cost model uses a different logic, which will be migrated separately.
PR: https://github.com/llvm/llvm-project/pull/179129
[clang-format][doc] Add GNU style link in KeepFormFeed option (#176654)
It was not clear from the description what this option does.
Added small example to demostrate its behavior.
[DSE] Handle variable offsets with sized dead_on_return (#180364)
With a sized dead_on_return, we need to not eliminate stores if there
are to a pointer with a variable offset from the underlying object
marked dead_on_return. This manifested as an assertion failure as
BaseValue/V ended up not being equal. It's possible we could do a range
analysis to try and prove the variable offset stays within bounds, but
this case seems to come up relatively rarely (only reproducible with a
UBSan build of LLVM) and is probably not worth the compile time.
Fixes #180361.
[ProfCheck] Add PreISelIntrinsicLoweringTest to XFail
Introduced in 191af6c254a83c9eb72df92a5db534d8fd4f0701. Should not be a
complicated fix, but move to the xfail list for now so the bot gets back
to green while we work on fixing.