<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/patches/556/">[patches:#556]</a> fix <span><span>[declare -stdpath]</span></span> on w32</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> bugfix<br/>
<strong>Labels:</strong> puredata declare stdpath <br/>
<strong>Created:</strong> Wed Sep 09, 2015 01:53 PM UTC by Anonymous<br/>
<strong>Last Updated:</strong> Wed Sep 09, 2015 01:53 PM UTC<br/>
<strong>Owner:</strong> Miller Puckette<br/>
<strong>Attachments:</strong></p>
<ul>
<li><a class="" href="http://sourceforge.net/p/pure-data/patches/556/attachment/0001-fix-check_exists-on-W32.patch">0001-fix-check_exists-on-W32.patch</a> (2.0 kB; text/x-diff)</li>
</ul>
<p>on w32, we cannot use <code>open()</code> to detect whether a directory exists (as it will always fail).<br/>
instead this patch uses <code>access()</code> (which should be faster than a full <code>open()</code>/<code>close()</code> cycle on other platforms as well).</p>
<p>unicode support makes everything a bit more complicated (the patch copies the implementation from <code>sys_open()</code>).</p>
<p>also fixed a small typo, that would append a garbage string to the path if the given path was absolute.</p>
<hr/>
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="http://sourceforge.net/p/pure-data/patches/">http://sourceforge.net/p/pure-data/patches/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="http://sourceforge.net/p/pure-data/admin/patches/options.">http://sourceforge.net/p/pure-data/admin/patches/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>