Skip to content

Make it produce correct file sizes on Linux (and macOS?) #1

Description

@EliteLoser

On the Linux platform (and presumably macOS, untested), the sizes when you create files are off by -1 byte per line in the file. This can quite easily be fixed with some if statements against the variables $IsLinux and ... the one for macOS, and tweaking the code. Didn't revisit the code yet, so I don't have a clear picture of the amount of work required at the time of writing this.

Workaround: Add +1 * <number_of_lines> bytes to the total size when on Linux (or Mac).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions