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

Pharo7+: contents of empty binary file are nil rather than an empty instance of ByteArray #107

Closed
jbrichau opened this issue Jul 31, 2020 · 0 comments

Comments

@jbrichau
Copy link
Member

Given an empty file somefile, the following returns nil instead of an empty instance of ByteArray.

GRPlatform current contentsOfFile: 'somefile' binary: true

This is not consistent with text files (which return an empty instance of String), nor with previous Pharo versions.

The change is caused because of #106

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