<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This looks correct to me. Can you file JIRA or put up a PR?<div class=""><br class=""></div><div class="">Thanks!</div><div class="">- Tony</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 19, 2016, at 11:16 PM, Luke Howard via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Posting to mailing list as I’m not able to test this right now, but I suspect this patch should be applied –<br class=""><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">diff --git a/Foundation/NSKeyedArchiver.swift b/Foundation/NSKeyedArchiver.swift</b></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">index d070a15..fdcedae 100644</b></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">--- a/Foundation/NSKeyedArchiver.swift</b></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">+++ b/Foundation/NSKeyedArchiver.swift</b></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class="">@@ -193,7 +193,7 @@</span><span style="font-variant-ligatures: no-common-ligatures" class=""> public class NSKeyedArchiver : NSCoder {</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> }</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> } else {</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> success = CFPropertyListWrite(plist, self._stream as! CFWriteStream,</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(195, 55, 32); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">- kCFPropertyListOpenStepFormat, 0, nil) > 0</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(52, 189, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+ kCFPropertyListXMLFormat_v1_0, 0, nil) > 0</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> }</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0); min-height: 15px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><br class="webkit-block-placeholder"></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Consolas; color: rgb(141, 166, 249); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> return success</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">as the Openstep format is not supported by CF for writing.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: 'Akzidenz-Grotesk BQ'; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">--</div><div class=""><font face="Akzidenz-Grotesk BQ" size="3" class=""><a href="http://www.lukehoward.com/" class="">www.lukehoward.com</a><br class=""><a href="http://soundcloud.com/lukehoward" class="">soundcloud.com/lukehoward</a></font></div></div></span></div></span></div></div></div></div></div></div></div>_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><br class=""></div></body></html>