From 2c1dec100ebef1983703eb0785c6e9251aa2fbfe Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Tue, 28 Jul 2026 02:39:04 +1000 Subject: [PATCH] CRLF hygiene ahead of the fossil catch-up: glob the vendored sdx patches, LF two strays The catch-up checkin aborted on CRLF in files outside crlf-glob. Five real offenders, in two classes needing opposite treatment: - src/buildsuites/suite_tcl86/patches/* (three files) is vendored sdx source by Matt Newman and Jean-Claude Wippler plus the patch derived from it. Upstream CRLF, and the patch must stay byte-exact to apply. Added to crlf-glob, which is what .fossil-settings/AGENTS.md prescribes for a payload tree that trips the prompt - explicitly in preference to reaching for --no-warnings. - src/modules/oolib-buildversion.txt and src/buildsuites/suite_tcl86/src/main.zig are authored punkshell files (4 lines each, fully CRLF) that the root AGENTS.md LF preference governs. Converted rather than globbed; globbing src/modules would suppress the warning across authored territory. punkzip's hamlet.txt was a false positive in the first scan - already covered by the crlf-glob entry for its fixtures directory, where it is deliberately CRLF byte-exact test data. Converted in git first so the fossil checkin records identical content; a content fix applied only fossil-side would desynchronise the two mirrors in the middle of a catch-up. Note oolib-buildversion.txt is build-generated, so a future regeneration may reintroduce CRLF there. Claude-Session: https://claude.ai/code/session_01YNjnq6oDzecknLg7AuWZgU Assisted-by: harness=claude; primary-model=claude-opus-5[1m]; api-location=anthropic.com --- .fossil-settings/crlf-glob | 5 ++++- src/buildsuites/suite_tcl86/src/main.zig | 8 ++++---- src/modules/oolib-buildversion.txt | 6 +++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.fossil-settings/crlf-glob b/.fossil-settings/crlf-glob index 3337a707..8bdbfc15 100644 --- a/.fossil-settings/crlf-glob +++ b/.fossil-settings/crlf-glob @@ -3,8 +3,11 @@ #kit payloads, and vendored-tool test fixtures (vendor/payload files keep their #upstream endings; the LF preference in root AGENTS.md governs authored text #files, not these trees). punkzip's hamlet.txt fixture is CRLF byte-exact test -#data - its compression tests pin sizes against it. +#data - its compression tests pin sizes against it. suite_tcl86's patches/ holds +#vendored sdx sources (Matt Newman / Jean-Claude Wippler) plus the patch file +#derived from them - upstream CRLF, kept byte-exact so the patch applies. src/embedded/* src/vendorlib/* src/vfs/* src/tools/punkzip/src/fixtures/* +src/buildsuites/suite_tcl86/patches/* diff --git a/src/buildsuites/suite_tcl86/src/main.zig b/src/buildsuites/suite_tcl86/src/main.zig index 37d96762..e6f0ba27 100644 --- a/src/buildsuites/suite_tcl86/src/main.zig +++ b/src/buildsuites/suite_tcl86/src/main.zig @@ -1,4 +1,4 @@ -const std = @import("std"); - -pub const _start = void; -pub const WinMainCRTStartup = void; +const std = @import("std"); + +pub const _start = void; +pub const WinMainCRTStartup = void; diff --git a/src/modules/oolib-buildversion.txt b/src/modules/oolib-buildversion.txt index d6c98a5b..bce3ffca 100644 --- a/src/modules/oolib-buildversion.txt +++ b/src/modules/oolib-buildversion.txt @@ -1,4 +1,4 @@ -0.1.4 -#First line must be a tm version number -#all other lines are ignored. +0.1.4 +#First line must be a tm version number +#all other lines are ignored. #0.1.4 - collection add duplicate-key error message no longer misnames the object as 'col_processors' (stray copy-paste in the generic collection class) \ No newline at end of file