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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Base.cxx 2008-08-22 19:57:13.000000000 +0200
@@ -74,7 +74,7 @@
ostream & GraphBase::Base::AnyValue( const CORBA::Any & anAny ) {
switch (anAny.type()->kind()) {
case CORBA::tk_string: {
- char * t;
+ const char * t;
anAny >>= t;
*_fdebug << " " << t << " (tk_string)" << endl ;
break;
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_DataPort.cxx 2008-08-22 21:55:22.000000000 +0200
@@ -151,7 +151,7 @@
#endif
switch (aDataValue->type()->kind()) { // Input Value
case CORBA::tk_string: { // Input string Value
- char * t;
+ const char * t;
*aDataValue >>= t;
#if ValueTrace
cdebug << t << " (string)" ;
@@ -242,7 +242,7 @@
char t[40] ;
sprintf( t , "%ld" , ll ) ;
*theValue <<= t ;
- char *tt ;
+ const char *tt ;
*theValue >>= tt ;
#if ValueTrace
cdebug << " --> Value( " << t << ") (string) kind " << theValue->type()->kind() ;
@@ -311,7 +311,7 @@
char t[40] ;
sprintf( t , "%lf" , d ) ;
*theValue <<= t ;
- char *tt ;
+ const char *tt ;
*theValue >>= tt ;
#if ValueTrace
cdebug << " --> Value( " << t << ") (string) kind " << theValue->type()->kind() ;
@@ -473,7 +473,7 @@
//JR 30.03.2005 switch ( theValue->type()->kind() ) {
switch ( theValue.type()->kind() ) {
case CORBA::tk_string: {
- char * t;
+ const char * t;
//JR 30.03.2005 *theValue >>= t;
theValue >>= t;
// cdebug << "GraphBase::DataPort::Value() : " << t << " (string) " << endl ;
@@ -583,7 +583,7 @@
const CORBA::Any * theValue = *_Value ;
switch (theValue->type()->kind()) {
case CORBA::tk_string:
- char * t;
+ const char * t;
*theValue >>= t;
f << t << " (string)" ;
break;
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_Graph.cxx 2008-08-22 22:29:22.000000000 +0200
@@ -1598,7 +1598,7 @@
bool isUnknown = false;
switch (aValue.type()->kind()) {
case CORBA::tk_string:
- char * t;
+ const char * t;
aValue >>= t;
cdebug << t << " (string) " ;
if ( !strcmp( t, "Unknown CORBA::Any Type" ) )
@@ -1688,7 +1688,7 @@
<< ToServiceParameterName << "' , Any " ;
switch (aValue.type()->kind()) {
case CORBA::tk_string:
- char * t;
+ const char * t;
aValue >>= t;
cdebug << t << " (string) " ;
break;
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphBase/DataFlowBase_XmlHandler.cxx 2008-08-22 22:00:15.000000000 +0200
@@ -718,7 +718,7 @@
case CORBA::tk_string: {
//Mandrake 10.1/Salome 3 aLink.aLinkValue <<= (char *) NULL ;
aLink.aLinkValue <<= (char *) "" ;
- char * t;
+ const char * t;
aLink.aLinkValue >>= t;
#if TRACE
MESSAGE( t << " (string)" );
@@ -778,7 +778,7 @@
switch ( aLink.aLinkValue.type()->kind() ) {
case CORBA::tk_string: {
aLink.aLinkValue <<= fieldvalue[depth].c_str() ;
- char * t;
+ const char * t;
aLink.aLinkValue >>= t;
#if TRACE
MESSAGE( t << " (string)" );
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphEditor/DataFlowEditor_OutNode.cxx 2008-08-22 22:44:27.000000000 +0200
@@ -1200,7 +1200,7 @@
valuetype.appendChild( aField ) ;
switch (aLink.aLinkValue.type()->kind()) {
case CORBA::tk_string: {
- char* retstr ;
+ const char* retstr ;
aLink.aLinkValue >>= retstr;
// f << Tabs << " <value>" << retstr << "</value>" << endl ;
QDomElement value = Graph.createElement( "value" ) ;
@@ -1345,7 +1345,7 @@
<< ".Input( " ;
switch (aLink.aLinkValue.type()->kind()) {
case CORBA::tk_string: {
- char* retstr ;
+ const char* retstr ;
aLink.aLinkValue >>= retstr;
f << "'" << retstr << "'" ;
break ;
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx 2008-08-22 22:59:18.000000000 +0200
@@ -3277,7 +3277,7 @@
const char * Type = anInPort->GetServicesParameter().Parametertype ;
switch ( D.Value.type()->kind() ) { // { string , long , double , objref }
case CORBA::tk_string:
- char * t;
+ const char * t;
D.Value >>= t;
#if InParametersSetTrace
cdebug << t << " (string)" ;
@@ -3675,7 +3675,7 @@
#if InParametersSetTrace
switch (D.Value.type()->kind()) { // { string , long , double , objref }
case CORBA::tk_string:
- char * t;
+ const char * t;
D.Value >>= t;
cdebug << ThreadNo() << " " << t << "(string)" << endl ;
break;
@@ -3764,7 +3764,7 @@
ServicesAnyData D = OutParametersList[i] ;
switch (D.Value.type()->kind()) { // { string , long , double , objref }
case CORBA::tk_string: {
- char * t;
+ const char * t;
D.Value >>= t;
#if OutParametersSetTrace
cdebug << ThreadNo() << " " << t << "(string)" << endl ;
@@ -3999,7 +3999,7 @@
#if OutParametersSetTrace
switch ( anOutPort->Value().type()->kind() ) {
case CORBA::tk_string:
- char * t;
+ const char * t;
(anOutPort->Value()) >>= t;
cdebug << ThreadNo() << " Out" << i << " : " << t << "(string)" << endl ;
break;
diff -abur src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
--- src3.2.6_orig/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx 2008-08-22 19:55:15.000000000 +0200
+++ src3.2.6/SUPERV_SRC_3.2.6/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx 2008-08-22 22:48:17.000000000 +0200
@@ -320,7 +320,7 @@
sname = InParametersList[i].Name.c_str() ;
switch ( data.type()->kind() ) {
case CORBA::tk_string : {
- char * t ;
+ const char * t ;
data >>= t ;
PyObject * ArgValue = Py_BuildValue( "s" , t ) ;
PyTuple_SetItem( ArgsList , i , ArgValue ) ;
|