diff options
Diffstat (limited to 'misc/colortail/patches/patch-aa')
-rw-r--r-- | misc/colortail/patches/patch-aa | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/misc/colortail/patches/patch-aa b/misc/colortail/patches/patch-aa index d2b070229b9..91b84a559bd 100644 --- a/misc/colortail/patches/patch-aa +++ b/misc/colortail/patches/patch-aa @@ -1,8 +1,26 @@ -$NetBSD: patch-aa,v 1.2 2004/01/11 21:22:41 jschauma Exp $ +$NetBSD: patch-aa,v 1.3 2011/11/26 17:16:53 joerg Exp $ ---- TailFile.cc.orig 2004-01-11 16:19:14.000000000 -0500 -+++ TailFile.cc 2004-01-11 16:20:33.000000000 -0500 -@@ -375,7 +375,7 @@ +--- TailFile.cc.orig 1999-08-04 23:09:38.000000000 +0000 ++++ TailFile.cc +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <iostream.h> ++#include <iostream> + #include <string.h> + #include <stdio.h> + #include <sys/stat.h> +@@ -25,6 +25,8 @@ + + #include "TailFile.h" + ++using namespace std; ++ + TailFile::TailFile() + { + m_filename = NULL; +@@ -375,7 +377,7 @@ void TailFile::follow_print(int n, int v // check if there isn't a follow buffer if (m_follow_buffer == NULL) { @@ -11,7 +29,7 @@ $NetBSD: patch-aa,v 1.2 2004/01/11 21:22:41 jschauma Exp $ } // make buffer -@@ -417,6 +417,9 @@ +@@ -417,6 +419,9 @@ void TailFile::follow_print(int n, int v int ch = fgetc(m_file); // add the character to the string |