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

[servers/fat] Fix fat_file_open case bug #147

Merged
merged 1 commit into from
Jul 5, 2019
Merged

Conversation

perlun
Copy link
Contributor

@perlun perlun commented Jul 5, 2019

I discovered another incarnation of #107. The previous fix (in #130)
fixed fat_file_get_info, but the code was still broken for
fat_file_open. There was also a weird bug making "no matching file"
use the last file that happened to exist in the directory suggested (!).

In addition to all of this, fat_file_open stupidly duplicated code
already present elsewhere. All of this is fixed in this commit.

This was the root cause for #132. In other words: Fixes #132.

I discovered another incarnation of #107. The previous fix (in #130)
fixed `fat_file_get_info`, _but_ the code was still broken for
`fat_file_open`. There was also a weird bug making "no matching file"
use the last file that happened to exist in the directory suggested (!).

In addition to all of this, `fat_file_open` stupidly duplicated code
already present elsewhere. All of this is fixed in this commit.

This was the root cause for #132. In other words: Fixes #132.
@perlun perlun merged commit 8d16d45 into master Jul 5, 2019
@perlun perlun deleted the fix/fat-file-open-bug branch July 5, 2019 19:53
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.

[servers/boot] When multiple programs exist, the wrong one is started
1 participant