<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Cheers for the clarification. I will spend some time working through some of the other failures, should help me get to grips with it all :)</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">James<br><br>Sent from my iPhone</div><div><br>On 14 May 2016, at 15:02, Bouke Haarsma via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1404.46">



<p class="p1">On 2016-05-14 09:05:08 +0000, James Lee via swift-corelibs-dev said:</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1">Please excuse my ignorance, I have looked into the POSIX calls, but am I right in assuming that the EBADF is due to the test calling to a file that doesn't exist and that is just how OSX handles this case?</span></p>
<p class="p4"><br></p>
<p class="p5">The problem on OSX was that closing the same FD in the child process would result in the EBADF. The change in the error handling posted before made the error more visible. The actual fix for OSX was to make sure a single FD was closed only once. See also PR #363 <a href="https://github.com/apple/swift-corelibs-foundation/pull/362">https://github.com/apple/swift-corelibs-foundation/pull/362</a>, especially <a href="https://github.com/apple/swift-corelibs-foundation/pull/363/commits/3fd0df28107847b7121f6cb2f823fbad9e2ddcff">https://github.com/apple/swift-corelibs-foundation/pull/363/commits/3fd0df28107847b7121f6cb2f823fbad9e2ddcff</a>.</p>
<p class="p4"><br></p>
<p class="p5">- Bouke</p>

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-corelibs-dev mailing list</span><br><span><a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a></span><br></div></blockquote></body></html>