Skip to content

Conversation

@nevil
Copy link
Contributor

@nevil nevil commented Apr 24, 2018

Originally reported by @DagAgren here #1297

  • Accepting truncating to any position, not just 0.
  • Reposition to the truncate offset.
  • Darwin throws exceptions on error so we use fatalError() instead of silently failing.

nevil added 2 commits April 24, 2018 07:26
The tests expect same behavior as on Darwin which was verified using DarwinCompatibilityTests.
- Accepting truncating to any position, not just 0.
- Reposition to the truncate offset.
- Darwin throws exceptions on error so we use fatalError() instead of silently failing.
@spevans
Copy link
Contributor

spevans commented Apr 24, 2018

@swift-ci please test

@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit edf34ca into swiftlang:master Apr 25, 2018
@nevil nevil deleted the truncate-fix branch April 26, 2018 01:37
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.

4 participants