<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/tftp-server/patches/" rel="alternate"/><link href="https://sourceforge.net/p/tftp-server/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/tftp-server/patches/</id><updated>2009-05-24T10:41:16Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>64bit compatibility fix</title><link href="https://sourceforge.net/p/tftp-server/patches/2/" rel="alternate"/><published>2009-05-24T10:41:16Z</published><updated>2009-05-24T10:41:16Z</updated><author><name>Timo Kreuzer</name><uri>https://sourceforge.net/u/tkreuzer/</uri></author><id>https://sourceforge.netb1bf4a2cc62549735d8b86cc5ad536f35cc25186</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Change pointer to DWORD cast to DWORD_PTR for 64 bit compatibility.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Patch for Unix Stable 1.5 tftpservermtV1.53</title><link href="https://sourceforge.net/p/tftp-server/patches/1/" rel="alternate"/><published>2008-09-29T15:04:43Z</published><updated>2008-09-29T15:04:43Z</updated><author><name>Sabrina Brown</name><uri>https://sourceforge.net/u/sabbrown/</uri></author><id>https://sourceforge.net0291b0f8812474938ad9ef6492adf3940a39df75</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;CHANGES MADE:&lt;/p&gt;
&lt;p&gt;1. Fixed a bug where the return value of the function select() was not checked. This becomes an issue under load, as the FD_SETSIZE parameter is hard-coded to 1024 in the kernel, so when this limit is reached the select() will fail. I would suggest that the best solution to this issue would be to remove the select() and FD_ISSET calls, replacing them with epoll()&lt;/p&gt;
&lt;p&gt;2. The function logMess() used the inet_ntoa() function which is not thread safe. This has been replaced with inet_ntop.&lt;/p&gt;
&lt;p&gt;3. In the init() function, I changed the opening of the log file to append, as the original over-wrote the log on start-up.&lt;/p&gt;
&lt;p&gt;4. Also added comments throughout to make the code more readable.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>