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

Pascal filesystem adds zero-length files incorrectly #64

Open
fadden opened this issue Aug 10, 2023 · 0 comments
Open

Pascal filesystem adds zero-length files incorrectly #64

fadden opened this issue Aug 10, 2023 · 0 comments
Labels

Comments

@fadden
Copy link
Owner

fadden commented Aug 10, 2023

Adding a zero-length file to a Pascal filesystem creates an entry where the "start" and "next" blocks are the same. It should instead create an entry that occupies one block, but has a "bytes in last block" value of zero.

The problem with zero-block files is that it creates the possibility of having multiple files with the same start block.

(Zero-length files will be deleted by Apple Pascal when the system boots, so they're of limited value.)

@fadden fadden added the bug label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant