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

Fix write of Symlink files #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

antoineco
Copy link

Fixes #15

writeSVR4Header() currently omits the following for files with mode Symlink:

  • The file's Size must match the link target (Linkname)
  • The link target must be written after the pad that follows the file's name

Both match the way readSVR4Header() translates the final read into a Linkname (and returned file size of 0).

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.

Files of type Symlink are not written correctly
1 participant