diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 19:08:14 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 19:08:14 +0200 |
| commit | 168361ef112c61391a615d8b1f0048b79a2b7237 (patch) | |
| tree | 6c2d2b89ac2876146872a0d5cb1ae231547eeded /patches/ttym-full-2.0.diff | |
| parent | 8f99f1650e4a7363af1d83190b4082fb72a9f73f (diff) | |
| download | ttym-168361ef112c61391a615d8b1f0048b79a2b7237.tar.gz ttym-168361ef112c61391a615d8b1f0048b79a2b7237.zip | |
patches: drop generated config.h and binary sections from the diffs
The 3.0 patch files each carried a spurious diff section for config.h --
a file the Makefile generates from config.def.h -- plus "Binary files
a/timer and b/timer differ" noise. Applying any of them made patch(1)
stop and prompt "File to patch:", which stalls a non-interactive apply
and prints "1 out of 1 hunk ignored" otherwise.
Cause: the diff-generation step cleaned its scratch trees with a glob
that matched nothing, and the shell aborts the whole command line on a
failed glob, so the cleanup never ran and the build products were left
in place.
The resulting builds were correct either way, since make regenerates
config.h from config.def.h, but the patches were not clean. Each patch
now touches only ttym.c and config.def.h.
Verified with patch --batch < /dev/null so a prompt is fatal rather than
silently skipped: all five apply with no prompt, skip, ignored hunk or
fuzz, and compile.
Claude-Session: https://claude.ai/code/session_01APLBs8RB1FcUaC4viVkzbP
Diffstat (limited to 'patches/ttym-full-2.0.diff')
0 files changed, 0 insertions, 0 deletions
