Skip to content

Fix write of Symlink files#18

Open
antoineco wants to merge 2 commits intocavaliergopher:mainfrom
antoineco:fix/write-symlink
Open

Fix write of Symlink files#18
antoineco wants to merge 2 commits intocavaliergopher:mainfrom
antoineco:fix/write-symlink

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

Comments