<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/gnuwin32/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/gnuwin32/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 20 May 2015 12:42:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuwin32/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>hex2bin fix</title><link>https://sourceforge.net/p/gnuwin32/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently hex2bin is defunct. whenever a 0A is in the hexdump, it adds an extra 0D corrupting the executable. &lt;/p&gt;
&lt;p&gt;in hex2bin.c where it says:&lt;br /&gt;
.....&lt;br /&gt;
   if (outfname &amp;amp;&amp;amp; !freopen(outfname,"wb",stdout)) {&lt;br /&gt;
      fprintf(stderr,E_OpenWrite,argv&lt;span&gt;[0]&lt;/span&gt;,outfname);&lt;br /&gt;
      exit(1);&lt;br /&gt;
   }&lt;/p&gt;
&lt;p&gt;total=mainloop();&lt;br /&gt;
.....&lt;/p&gt;
&lt;p&gt;change to:&lt;/p&gt;
&lt;p&gt;if (outfname &amp;amp;&amp;amp; !freopen(outfname,"wb",stdout)) {&lt;br /&gt;
      fprintf(stderr,E_OpenWrite,argv&lt;span&gt;[0]&lt;/span&gt;,outfname);&lt;br /&gt;
      exit(1);&lt;br /&gt;
   }&lt;/p&gt;
&lt;p&gt;if (_setmode(fileno(stdout), O_BINARY) == -1) {&lt;br /&gt;
      fprintf(stderr,E_SetMode,argv&lt;span&gt;[0]&lt;/span&gt;);&lt;br /&gt;
      exit(1);&lt;br /&gt;
   }&lt;/p&gt;
&lt;p&gt;total=mainloop();&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anton Modaresi</dc:creator><pubDate>Wed, 20 May 2015 12:42:39 -0000</pubDate><guid>https://sourceforge.netd591fbb2541f8365ada5cb34807a6a1be6268269</guid></item><item><title/><link>https://sourceforge.net/p/gnuwin32/patches/1/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GnuWin32</dc:creator><pubDate>Thu, 26 Jul 2012 18:57:58 -0000</pubDate><guid>https://sourceforge.net3658fc45aae2edcd206cf0da1e1dcde4e61715a6</guid></item></channel></rss>