Lines 1-7
Link Here
|
1 |
--- iobottle.cpp.orig Mon Oct 21 23:30:11 2002 |
1 |
--- iobottle.cpp.orig Fri Aug 6 05:39:19 1999 |
2 |
+++ iobottle.cpp Mon Oct 21 23:30:37 2002 |
2 |
+++ iobottle.cpp Fri Oct 25 13:58:58 2002 |
3 |
@@ -1,3 +1,4 @@ |
3 |
@@ -1,3 +1,4 @@ |
4 |
+#include <string.h> |
4 |
+#include <string.h> |
5 |
|
5 |
|
6 |
extern "C" { |
6 |
extern "C" { |
7 |
#include <stdlib.h> |
7 |
#include <stdlib.h> |
|
|
8 |
@@ -97,7 +98,7 @@ |
9 |
} |
10 |
/* If buf[len-1] is a null, then a newline should be written */ |
11 |
size_t |
12 |
-IObottle:: writeline(char *buf, size_t len = 0) { |
13 |
+IObottle:: writeline(char *buf, size_t len) { |
14 |
int lenwritten = 0; |
15 |
|
16 |
if ( fputs(buf, wfp) >= 0 ) |
17 |
@@ -134,7 +135,7 @@ |
18 |
return(0); |
19 |
} |
20 |
int |
21 |
-IObottle:: set_time(time_t actime, time_t modtime = 0) { |
22 |
+IObottle:: set_time(time_t actime, time_t modtime) { |
23 |
struct stat sb; |
24 |
struct utimbuf ub; |
25 |
|