Skip to content

NSMutableData compatiblity with macOS #905

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

Merged
merged 3 commits into from
Mar 6, 2017
Merged

NSMutableData compatiblity with macOS #905

merged 3 commits into from
Mar 6, 2017

Conversation

johnno1962
Copy link
Contributor

Came across this using NSMutableData on Linux. Replace range with nil pointer and length 0 does nothing when it should delete bytes in the range.

@parkera parkera changed the title For compatiblity with macOS NSMutableData compatiblity with macOS Mar 5, 2017
@parkera
Copy link
Contributor

parkera commented Mar 5, 2017

Would you mind adding a small test case?

@johnno1962
Copy link
Contributor Author

Best I can do at the moment.. I don’t have a Linux build available to test the test.

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

@swift-ci please test and merge

@johnno1962
Copy link
Contributor Author

johnno1962 commented Mar 6, 2017

Failed?

  • /usr/bin/cmake --build /home/buildnode/disk2/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/swift-linux-x86_64 -- -j12 all swift-stdlib-linux-x86_64 swift-benchmark-linux-x86_64
    ninja: error: unknown target 'swift-benchmark-linux-x86_64'

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

Looks like we're seeing that error in a few places.

@parkera
Copy link
Contributor

parkera commented Mar 6, 2017

@swift-ci please test and merge

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.

3 participants