From 940d110922f9f93fa1d4dc6de5b238212c67ca58 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 26 Oct 2002 00:27:50 +0000 Subject: C++ fixes for GCC3. PR: 44460 Submitted by: Volker Stolz --- mail/mmr/files/patch-iobottle.cpp | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'mail/mmr/files/patch-iobottle.cpp') diff --git a/mail/mmr/files/patch-iobottle.cpp b/mail/mmr/files/patch-iobottle.cpp index bae138d1905c..43636ee5379f 100644 --- a/mail/mmr/files/patch-iobottle.cpp +++ b/mail/mmr/files/patch-iobottle.cpp @@ -1,7 +1,25 @@ ---- iobottle.cpp.orig Mon Oct 21 23:30:11 2002 -+++ iobottle.cpp Mon Oct 21 23:30:37 2002 +--- iobottle.cpp.orig Fri Aug 6 05:39:19 1999 ++++ iobottle.cpp Fri Oct 25 13:58:58 2002 @@ -1,3 +1,4 @@ +#include extern "C" { #include +@@ -97,7 +98,7 @@ + } + /* If buf[len-1] is a null, then a newline should be written */ + size_t +-IObottle:: writeline(char *buf, size_t len = 0) { ++IObottle:: writeline(char *buf, size_t len) { + int lenwritten = 0; + + if ( fputs(buf, wfp) >= 0 ) +@@ -134,7 +135,7 @@ + return(0); + } + int +-IObottle:: set_time(time_t actime, time_t modtime = 0) { ++IObottle:: set_time(time_t actime, time_t modtime) { + struct stat sb; + struct utimbuf ub; + -- cgit v1.2.3