Repository navigation
winx residuals: captain corrections from #1525 post-merge verification (locate/hostname pins, #1521 past-UINT64 clamp) - #1528
Merged
Conversation
Three adjudications from the main-push CI run on 42ac074 (x64-default ctest 3755/3757, both failures wrong-pin family): - locate #1523 pin: exit 2 -> 1. GNU xstrtol_fatal exits via gnulib exit_failure (EXIT_FAILURE); the pin had imported grep/diff's convention. Product unchanged. - hostname #1522: revert the lane's wide-path hunk (it patched an unreachable branch -- build_config rejects -F by design and never populates Config::file) and replace its pin with one asserting the designed rejection. Incoherence filed as #1526. - #1521 residual-of-residual: grep -m/-B/-A/-C/-NUM and diff -C/-U/-NUM move UINT_TYPE -> UINT_CLAMP_TYPE so past-UINT64 values clamp per GNU (grep.c:2681-2692, diff.c:358-367); the two #1509 pins flip from "still errors" to clamping assertions. Optional diff forms stay for #1527. Refs #1521, #1522, #1523, #1526, #1527. No user-visible strings; hand-formatted per repo custom (the pinned formatter is not runnable on this machine).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Captain's correction PR from the post-merge verification of #1525 (main CI run 41933615276, x64-default ctest: 3755/3757 — the two failures were both adjudicated, plus one residual-of-residual the lane had flagged for the captain).
本 PR 删除了什么
build_configrejects-Fby design and never populatesConfig::file), so the "fix" could never execute. Net effect of that lane commit on hostname is now zero; the incoherence it exposed is filed as hostname: -F is advertised in help, rejected by the parser, and its read branch is dead code #1526.Adjudications landed here
-loverflow to gnulibxstrtol_fatal, which exits viaexit_failure= EXIT_FAILURE = 1 (findutils' house value; the pin had imported grep/diff's 2). Pin now expects 1; the stderr assertion (which passed) is unchanged. Product untouched. Refs uniq counts: GNU clamps past UINT64_MAX, WinuxCmd parse-errors (residual of #1519) #1523.-Fsits in the unsupported-option rejection table, so the designed behavior is exit 1 with empty stdout. The replacement pinhostname_file_option_rejected_by_design_issue1522asserts exactly that; Text-mode narrow-ctor operand readers (dircolors, hexdump -f, hostname -F) share the #342 filename class #1522's live readers (dircolors, hexdump) were verified green in the same run. Refs Text-mode narrow-ctor operand readers (dircolors, hexdump -f, hostname -F) share the #342 filename class #1522, hostname: -F is advertised in help, rejected by the parser, and its read branch is dead code #1526.-m/ diff-Uerror with exit 2 at 10^23, but GNU's acceptance is unbounded (grep.c:2681-2692 xstrtoimax LONGINT_OVERFLOW; diff.c:358-367 strtoimax + CONTEXT_MAX clamp). The valued declarations (grep -m/-B/-A/-C/-NUM,diff -C/-U/-NUM) now rideUINT_CLAMP_TYPE(the type uniq counts: GNU clamps past UINT64_MAX, WinuxCmd parse-errors (residual of #1519) #1523 introduced for uniq), and the two pins are flipped to assert clamping:grep_count_above_uint64_clamps_issue1509,diff_unified_context_above_uint64_clamps_issue1509. The optional diff forms remain onOPTIONAL_UINT_TYPE— recorded as diff: optional context forms (--unified=/--context=, -c/-u) still error past UINT64_MAX — needs OptionalUIntClamp #1527 (needs an OptionalUIntClamp parser type), not silently dropped.No user-visible strings change; no i18n catalog impact. Formatting follows the surrounding hand style (the repo-pinned formatter is not runnable on this machine, same note as #1520/#1525).
Net lines
+59 / −39 across 7 files (net +20, mostly adjudication comments and the replacement pin; product code is declaration-type swaps plus the hostname revert).
Verification route per this repo's established pattern: merge, then the main-push CI run's x64-default ctest log is checked per pin by the captain before #1521–#1524 are closed.