blob: f0ebd55111523f8007fef28e12eb553c6804a143 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- tclmUtil.cxx.orig 1996-07-28 19:09:06 UTC
+++ tclmUtil.cxx
@@ -31,8 +31,8 @@
extern "C" {
#include <tcl.h>
}
-#include <iostream.h>
-#include <iomanip.h>
+#include <iostream>
+#include <iomanip>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
@@ -99,12 +99,12 @@ Tclm_ParseDataByte(Tcl_Interp *interp, c
}
void
-Tclm_PrintData(ostream &buf, const unsigned char *data, long length)
+Tclm_PrintData(std::ostream &buf, const unsigned char *data, long length)
{
long i;
- buf.setf(ios::showbase | ios::internal);
- buf << hex << setw(4) << setfill('0') << (int)data[0];
+ buf.setf(std::ios::showbase | std::ios::internal);
+ buf << std::hex << std::setw(4) << std::setfill('0') << (int)data[0];
for (i = 1; i < length; i++)
- buf << " " << hex << setw(4) << setfill('0') << (int)data[i];
+ buf << " " << std::hex << std::setw(4) << std::setfill('0') << (int)data[i];
}
|