Files
craft-anything/docs
RRFZ e87104f45e Escape GDB/MI C-strings, clamp malformed tuple delimiters, and isolate command tokens (R1.5)
- Escape `\n`, `\r`, `\t`, and remaining control characters (as fixed three-digit octal byte escapes) in `quote`, and decode standard C escapes (`\a`, `\b`, `\f`, `\v`) plus `\xHH` hex byte escapes in `unquote` so console commands and stderr log lines stay single-line MI records and round-trip cleanly.
- Clamp unmatched closing braces and brackets at nesting depth zero in `fields` so malformed tuple delimiters outside quotes cannot hide subsequent top-level MI fields such as `reason`.
- Normalize CRLF line endings in `drain` and pass `expected_token` to `absorb` so late or untokenized result records from other commands cannot taint `c.result` or `c.error`, while clearing stale errors on non-error records in `take_output` and still recording `^exit`.
2026-11-18 00:02:12 -05:00
..
2026-10-31 10:52:14 -04:00
2026-10-31 10:52:14 -04:00
2026-10-31 10:52:14 -04:00