Skip to content

fix: treat a lone CR as a line end in SitePackage - #179

Merged
HaoZeke merged 1 commit into
developfrom
fix/sitepackage-conf-cr
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/sitepackage-conf-cr

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

fix: treat a lone CR as a line end in SitePackage

The Lua conf_value parser kept a carriage return inside one line.
A later hide_toolchains key in eessi-arch-guard.conf therefore
did not win, and a comment ended by \r swallowed the next key. A
line now ends on \n, \r\n, or a lone \r, as parseConfigBytes
does.

The Lua `conf_value` parser kept a carriage return inside one line.
A later `hide_toolchains` key in `eessi-arch-guard.conf` therefore
did not win, and a comment ended by `\r` swallowed the next key. A
line now ends on `\n`, `\r\n`, or a lone `\r`, as `parseConfigBytes`
does.
@HaoZeke
HaoZeke merged commit ee06884 into develop Nov 27, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant