<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Pierre (Entries tagged as binary)</title>
    <link>http://blog.thepimp.net/</link>
    <description>Moving Pixels</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Fri, 01 Dec 2006 12:39:00 GMT</pubDate>

    <image>
        <url>http://blog.thepimp.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Pierre - Moving Pixels</title>
        <link>http://blog.thepimp.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>htscanner, windows binaries available</title>
    <link>http://blog.thepimp.net/archives/htscanner,-windows-binaries-available.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/htscanner,-windows-binaries-available.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=151</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=151</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;A quick note about the &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt; windows binaries, they are now available on &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net&#039;);&quot;  href=&quot;http://pecl4win.php.net&quot;&gt;pecl4win&lt;/a&gt;. I will also try to run more tests on windows, especiallly &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; + fcgi.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/htscanner&#039;);&quot;  href=&quot;http://pecl.php.net/htscanner&quot;&gt;htscanner&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net/ext.php/php_htscanner.dll&#039;);&quot;  href=&quot;http://pecl4win.php.net/ext.php/php_htscanner.dll&quot;&gt;htscanner dll&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Fri, 01 Dec 2006 13:39:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/151.html</guid>
    <category>binary</category>
<category>cgi</category>
<category>dll</category>
<category>fastcgi</category>
<category>htaccess</category>
<category>htscanner</category>
<category>IIS</category>
<category>lighttpd</category>
<category>PECL</category>
<category>pecl4win</category>
<category>PHP</category>

</item>
<item>
    <title>Windows fixes release for Zip, fopen(,&quot;rb&quot;) may not be binary safe</title>
    <link>http://blog.thepimp.net/archives/Windows-fixes-release-for-Zip,-fopen,rb-may-not-be-binary-safe.html</link>
            <category>PHP</category>
    
    <comments>http://blog.thepimp.net/archives/Windows-fixes-release-for-Zip,-fopen,rb-may-not-be-binary-safe.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=147</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=147</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;This release is mostly for windows users using other &lt;span class=&quot;caps&quot;&gt;SAPI&lt;/span&gt; than &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt; or (F)&lt;span class=&quot;caps&quot;&gt;CGI&lt;/span&gt;. The bug is fixed in &lt;span class=&quot;caps&quot;&gt;CVS&lt;/span&gt; already but I was lacking the time to release it. Pecl4win providing snapshots, it is half of a problem &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; &lt;p&gt;The issue is actually a windows bug. No matter if I give or not the &amp;quot;b&amp;quot; flag to fopen, the write operations are not binary safe. It seems to be a known issue as many projects use the same trick:&lt;/p&gt; 

	&lt;p&gt;&lt;pre class=&quot;c&quot; style=&quot;text-align: left;&quot;&gt; _setmode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;_fileno&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;tfp&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;, _O_BINARY &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt; &lt;p&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; is forcing the binary mode in &lt;span class=&quot;caps&quot;&gt;SAPI&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;, that&amp;#8217;s why the problem was not that easy to reproduce (apache or &lt;span class=&quot;caps&quot;&gt;IIS&lt;/span&gt; debuggin on windows was not really my cup of tea &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;.&lt;/p&gt; &lt;p&gt;I was trying to find some reference or bug reports about this issue but without much success, so far only people complaining about windows broken fopen. If anyone has detailed informations about this issue, please let me know.&lt;/p&gt; &lt;p&gt;As always you can fetch the DLLs from &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl4win.php.net/ext.php/php_zip.dll&#039;);&quot;  href=&quot;http://pecl4win.php.net/ext.php/php_zip.dll&quot;&gt;pecl4win&lt;/a&gt; or &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/zip&#039;);&quot;  href=&quot;http://pecl.php.net/zip&quot;&gt;PECL&lt;/a&gt;.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Full &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/package-changelog.php?package=zip&amp;amp;amp;release=1.8.1&#039;);&quot;  href=&quot;http://pecl.php.net/package-changelog.php?package=zip&amp;amp;release=1.8.1&quot;&gt;changelog&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/pecl.php.net/get/zip&#039;);&quot;  href=&quot;http://pecl.php.net/get/zip&quot;&gt;Download&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 28 Nov 2006 02:45:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/147.html</guid>
    <category>apache2</category>
<category>binary</category>
<category>iis</category>
<category>pecl</category>
<category>php</category>
<category>zip</category>

</item>

</channel>
</rss>