diff options
Diffstat (limited to 'comms/plp/patches/patch-ag')
-rw-r--r-- | comms/plp/patches/patch-ag | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/comms/plp/patches/patch-ag b/comms/plp/patches/patch-ag index a87163a3669..502244ba21f 100644 --- a/comms/plp/patches/patch-ag +++ b/comms/plp/patches/patch-ag @@ -1,8 +1,23 @@ -$NetBSD: patch-ag,v 1.2 2004/09/08 12:47:39 wiz Exp $ +$NetBSD: patch-ag,v 1.3 2011/12/19 13:44:07 wiz Exp $ ---- rfsv/rfsv16.cc.orig 1999-11-02 23:01:01.000000000 +0100 +--- rfsv/rfsv16.cc.orig 1999-11-02 22:01:01.000000000 +0000 +++ rfsv/rfsv16.cc -@@ -113,7 +113,7 @@ int rfsv16::dir(const char* dirName, buf +@@ -19,10 +19,11 @@ + // + // e-mail philip.proudman@btinternet.com + +-#include <stream.h> ++#include <iostream> ++using namespace std; + #include <stdlib.h> +-#include <fstream.h> +-#include <iomanip.h> ++#include <fstream> ++#include <iomanip> + #include <time.h> + #include <string.h> + +@@ -113,7 +114,7 @@ int rfsv16::dir(const char* dirName, buf if (version != 2) return 1; int status = a.getWord(2); long size = a.getDWord(4); @@ -11,7 +26,7 @@ $NetBSD: patch-ag,v 1.2 2004/09/08 12:47:39 wiz Exp $ const char *s = a.getString(16); a.discardFirstBytes(17+strlen(s)); -@@ -238,7 +238,7 @@ int rfsv16::write(const char* localName, +@@ -238,7 +239,7 @@ int rfsv16::write(const char* localName, } unsigned char * buff = new unsigned char [RFSV_SENDLEN]; while (ip &&!ip.eof()) { |