diff options
Diffstat (limited to 'comms/plp/patches/patch-ah')
-rw-r--r-- | comms/plp/patches/patch-ah | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/comms/plp/patches/patch-ah b/comms/plp/patches/patch-ah index ac04eff1d36..c49a1f1e5d9 100644 --- a/comms/plp/patches/patch-ah +++ b/comms/plp/patches/patch-ah @@ -1,8 +1,8 @@ -$NetBSD: patch-ah,v 1.1 2000/10/10 12:12:10 pooka Exp $ +$NetBSD: patch-ah,v 1.2 2004/09/08 12:47:39 wiz Exp $ ---- rfsv/rfsv32.cc.orig Tue Nov 2 23:12:47 1999 -+++ rfsv/rfsv32.cc Tue Oct 10 15:07:34 2000 -@@ -183,7 +183,7 @@ +--- rfsv/rfsv32.cc.orig 1999-11-02 22:12:47.000000000 +0100 ++++ rfsv/rfsv32.cc +@@ -183,7 +183,7 @@ int rfsv32::dir(const char* dirName, buf us += modLow; us /= 1000000; us -= (1970*365 + 490)*60*60*24; @@ -11,3 +11,25 @@ $NetBSD: patch-ah,v 1.1 2000/10/10 12:12:10 pooka Exp $ char dateBuff[100]; struct tm *t; t = gmtime(&date); +@@ -275,10 +275,10 @@ void rfsv32::opErr(long status) { + case BAD_HANDLE: + cerr << "BAD_HANDLE"; + break; +- case OVERFLOW: ++ case E_OVERFLOW: + cerr << "OVERFLOW"; + break; +- case UNDERFLOW: ++ case E_UNDERFLOW: + cerr << "UNDERFLOW"; + break; + case ALREADY_EXISTS: +@@ -455,7 +455,7 @@ int rfsv32::write(const char* localName, + } + unsigned char * buff = new unsigned char [RFSV_SENDLEN]; + while (ip &&!ip.eof()) { +- ip.read(buff, RFSV_SENDLEN); ++ ip.read((char *)buff, RFSV_SENDLEN); + bufferStore tmp(buff, ip.gcount()); + if (tmp.getLen() == 0) break; + bufferStore a; |