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

Glk: seeking past end of writable file streams #17

Open
curiousdannii opened this issue Oct 1, 2024 · 0 comments
Open

Glk: seeking past end of writable file streams #17

curiousdannii opened this issue Oct 1, 2024 · 0 comments

Comments

@curiousdannii
Copy link
Member

curiousdannii commented Oct 1, 2024

Section 5.4 says:

It is illegal to specify a position before the beginning or after the end of the file.

But the libc implementations do allow this for writeable files, and Bocfel depends on it.

I'm not sure if seekmode_End with positive pos is de facto supported, Bocfel doesn't attempt it.

curiousdannii added a commit to curiousdannii/remglk-rs that referenced this issue Oct 1, 2024
… it (see iftechfoundation/ifarchive-if-specs#17)

Support non-existent files in `glkunix_stream_open_pathname_gen`
Wrap glkstart.h in `extern "C"`
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

No branches or pull requests

1 participant