Skip to content

Fix pointer handling for fp in sd_boot#48

Open
Kniffler wants to merge 1 commit into
clockworkpi:masterfrom
Kniffler:patch-3
Open

Fix pointer handling for fp in sd_boot#48
Kniffler wants to merge 1 commit into
clockworkpi:masterfrom
Kniffler:patch-3

Conversation

@Kniffler

Copy link
Copy Markdown
Contributor

The is_same_existing_program (I renamed it to "is_same_as_existing_program because grammar) was moving the file pointer arbitrarily, without the load_program function accounting for this behaviour. I simply reset the pointer back after the check.

I apologize for not correcting this sooner, this might have caused a lot of issues for those who cloned the repository within the last months.

Added comments to clarify file pointer handling in the function.
@Kniffler Kniffler changed the title Tweak pointer handling for fp in sd_boot Fix pointer handling for fp in sd_boot Jun 11, 2026
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