Skip to content

[SR-2133] archive to streams in XML, not OpenStep, format #458

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 1 commit into from
Jul 21, 2016

Conversation

lhoward
Copy link
Contributor

@lhoward lhoward commented Jul 21, 2016

Note: I have not had a chance to test this fix, I just noticed it whilst glancing through the code recently.

_writeXMLData() in NSKeyedArchiver invokes CFPropertyListWrite() with kCFPropertyListOpenStepFormat, which not only does not make sense (given the name of the calling function) but will also assert fail in CF. Presumably it should be changed to kCFPropertyListXMLFormat_v1_0.

@parkera
Copy link
Contributor

parkera commented Jul 21, 2016

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Jul 21, 2016

LGTM

@parkera parkera merged commit 2307802 into swiftlang:master Jul 21, 2016
DaveLiu888 pushed a commit to DaveLiu888/swift-corelibs-foundation that referenced this pull request Jul 28, 2016
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.

2 participants