<?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/tailforwin32/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/tailforwin32/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 06 Oct 2011 08:12:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tailforwin32/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Support for Workspaces (binary)</title><link>https://sourceforge.net/p/tailforwin32/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Compiled Tail for Win32 with workspace support&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rolf Kristensen</dc:creator><pubDate>Thu, 06 Oct 2011 08:12:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2075fe2dc9acff5f51dd13dcf4c9bb9f7bb3991b</guid></item><item><title>Support for Workspaces</title><link>https://sourceforge.net/p/tailforwin32/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;- Added workspace support through Document / View framewok&lt;br /&gt;
- Possible for a tail view to save its configuration into the workspace&lt;br /&gt;
- Fixed so it can build with VS2005&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rolf Kristensen</dc:creator><pubDate>Thu, 06 Oct 2011 08:11:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net57a12696c914b031f6ddca64401714823c9dd529</guid></item><item><title>Support for files that have Shrunk..</title><link>https://sourceforge.net/p/tailforwin32/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Dunno if anyone is interested, but I have made a very &lt;br /&gt;
simeple change that allows for files that have shrunk, or &lt;br /&gt;
been restarted..&lt;/p&gt;
&lt;p&gt;We have a situation where we have a log file that we &lt;br /&gt;
are 'tail'ing and everytime the application restarts, the &lt;br /&gt;
log file is cleared and restarted...&lt;/p&gt;
&lt;p&gt;This has the efect in TailForWin32 that we get an error &lt;br /&gt;
popup: &amp;amp;quot;Could not allocate memory for file!&amp;amp;quot;&lt;/p&gt;
&lt;p&gt;This is because of a negative dwBufferSize value when &lt;br /&gt;
the file has shrunk..&lt;/p&gt;
&lt;p&gt;I added the following lines of code in the ReaderThread &lt;br /&gt;
method in the TailView.cpp file from the &amp;amp;quot;4.2.1&amp;amp;quot; stable &lt;br /&gt;
version source...&lt;/p&gt;
&lt;p&gt;I don't have a diff to create adiff file, but it is a simple &lt;br /&gt;
change so here goes.. It's around line 944..&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;
return 1;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// New code STARTS here&lt;br /&gt;
// Check if the file has shrunk...&lt;br /&gt;
if (dwNewFileSize &amp;amp;lt; dwOldFileSize)&lt;br /&gt;
{&lt;br /&gt;
// Clear the Text&lt;br /&gt;
pEdit-&amp;amp;gt;SetSel(0, -1);&lt;br /&gt;
pEdit-&amp;amp;gt;ReplaceSel(&amp;amp;quot;&amp;amp;quot;);&lt;br /&gt;
// setup as a bFirst..&lt;br /&gt;
bFirst = TRUE;&lt;br /&gt;
// Old size is now 0&lt;br /&gt;
dwOldFileSize = 0;&lt;br /&gt;
}&lt;br /&gt;
// New code ENDS here&lt;/p&gt;
&lt;p&gt;if (bFirst &amp;amp;amp;&amp;amp;amp; bIgnoreHotStartup)&lt;br /&gt;
{&lt;br /&gt;
dwBufferSize = dwNewFileSize + 1;&lt;br /&gt;
}&lt;br /&gt;
else&lt;/p&gt;
&lt;p&gt;Cheers &lt;/p&gt;
&lt;p&gt;Gil.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gil Peeters</dc:creator><pubDate>Fri, 24 Jan 2003 11:10:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neteb0cdb7d924cad8c65d8d8d635a9f57c222ebb67</guid></item></channel></rss>