Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't mutate a string literal #106

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Don't mutate a string literal #106

merged 1 commit into from
Aug 29, 2023

Conversation

Uthar
Copy link
Contributor

@Uthar Uthar commented Aug 28, 2023

Mutating functions in current-rfc-1123-timestamp are used to modify the *date-header* variable, which was a string literal.

This was causing an SB-SYS:MEMORY-FAULT-ERROR: Attempt to modify a read-only object when running from an executable dumped with sb-ext:save-lisp-and-die :executable :t

I don't know how to add a test for this...

See NixOS/nixpkgs#252016

This was causing an SB-SYS:MEMORY-FAULT-ERROR: Attempt to modify a read-only
object when running from an executable dumped with sb-ext:save-lisp-and-die
:executable .t

See NixOS/nixpkgs#252016
@fukamachi fukamachi merged commit a520516 into fukamachi:master Aug 29, 2023
@fukamachi
Copy link
Owner

Thanks!

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.

None yet

3 participants