]>
Commit | Line | Data |
---|---|---|
a1004df0 MM |
1 | diff -ur raidmgt-3.31/dptutil/dynsize.cpp raidmgt-3.31-/dptutil/dynsize.cpp |
2 | --- raidmgt-3.31/dptutil/dynsize.cpp 2002-08-13 17:02:46.000000000 +0200 | |
3 | +++ raidmgt-3.31-/dptutil/dynsize.cpp 2003-08-13 12:01:04.000000000 +0200 | |
4 | @@ -67,11 +67,7 @@ | |
5 | char *buf = new char[curSize]; | |
6 | if ( buf != NULL ) | |
7 | { | |
8 | -#if !defined __MWERKS__ | |
9 | - setb(buf, buf + curSize, 1); | |
10 | -#else | |
11 | pubsetbuf (buf, curSize); | |
12 | -#endif | |
13 | setg(buf, buf, buf); | |
14 | setp(NULL, NULL); | |
15 | allocatedSize = curSize; | |
16 | diff -ur raidmgt-3.31/dptutil/dynsize.h raidmgt-3.31-/dptutil/dynsize.h | |
17 | --- raidmgt-3.31/dptutil/dynsize.h 2002-08-13 17:02:46.000000000 +0200 | |
18 | +++ raidmgt-3.31-/dptutil/dynsize.h 2003-08-13 11:59:04.000000000 +0200 | |
19 | @@ -22,9 +22,12 @@ | |
20 | *****************************************************************************/ | |
21 | ||
22 | /*** INCLUDES ***/ | |
23 | -#include <iostream.h> | |
24 | +#include <iostream> | |
25 | +#include <streambuf> | |
26 | #include <stdio.h> | |
27 | ||
28 | +using namespace std; | |
29 | + | |
30 | ||
31 | /*** DEFINES ***/ | |
32 | #ifdef _DPT_DOS | |
33 | diff -ur raidmgt-3.31/dptutil/flash.cpp raidmgt-3.31-/dptutil/flash.cpp | |
34 | --- raidmgt-3.31/dptutil/flash.cpp 2002-08-13 17:02:47.000000000 +0200 | |
35 | +++ raidmgt-3.31-/dptutil/flash.cpp 2003-08-13 12:02:47.000000000 +0200 | |
36 | @@ -31,13 +31,15 @@ | |
37 | ||
38 | #include <stdio.h> | |
39 | #include <ctype.h> | |
40 | -#include <fstream.h> | |
41 | +#include <fstream> | |
42 | #if defined _DPT_WIN_NT | |
43 | #include <strstrea.h> | |
44 | #else | |
45 | -#include <strstream.h> | |
46 | +#include <sstream> | |
47 | #endif | |
48 | ||
49 | +using namespace std; | |
50 | + | |
51 | extern char* EventStrings[]; | |
52 | /*** CONSTANTS ***/ | |
53 | enum output_Type | |
54 | diff -ur raidmgt-3.31/dptutil/makefile raidmgt-3.31-/dptutil/makefile | |
55 | --- raidmgt-3.31/dptutil/makefile 2002-08-30 20:50:02.000000000 +0200 | |
56 | +++ raidmgt-3.31-/dptutil/makefile 2003-08-13 12:02:48.000000000 +0200 | |
57 | @@ -1,6 +1,6 @@ | |
58 | PROG=raidutil | |
59 | extra_cflags= | |
60 | -I= -I/usr/include/g++ -I. | |
61 | +I= -I. | |
62 | ||
63 | CC=g++ | |
64 | C=g++ |