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

Here-document semantics #195

Merged
merged 6 commits into from
Sep 19, 2022
Merged

Here-document semantics #195

merged 6 commits into from
Sep 19, 2022

Conversation

magicant
Copy link
Owner

@magicant magicant commented Sep 17, 2022

  • Add /tmp in default virtual system
  • Add System::lseek
  • Open a file descriptor to a temporary file
  • Expand here-document contents
  • Write here-document contents to the temporary file
  • Rewind the temporary file's open file description
  • Implement (or add todo on) here-string
  • Extend documentation
    • Todo about optimization using a pipe

OpenFileDescription::seek now takes an isize argument. Since everything
about virtual system lives in memory, file offsets should be sized by
usize.
@magicant magicant marked this pull request as ready for review September 18, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant