summaryrefslogtreecommitdiffstats
path: root/src/gsoap-1-fixes.patch
blob: b60c110fadf8799409d17f9384db5cd6507ac05d (plain)
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
This file is part of mingw-cross-env.
See doc/index.html for further information.

Contains ad hoc patches for cross building.

From 35024d3ef8fb879a92de71b738ad985b6e8318af Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Mon, 19 Sep 2011 15:22:59 +0200
Subject: [PATCH] bugfix for 2.8.3 from:
 http://www.cs.fsu.edu/~engelen/soapbugs.html


diff --git a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
index 6f05170..f31676b 100644
--- a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
+++ b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap)
     soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
 #endif
     copy->local_namespaces = NULL;
-    soap_set_namespaces(copy, soap->local_namespaces);
+    soap_set_namespaces(copy, soap->namespaces);
 #ifdef WITH_C_LOCALE
     copy->c_locale = duplocale(soap->c_locale);
 #else
diff --git a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
index 6f05170..f31676b 100644
--- a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
+++ b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap)
     soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
 #endif
     copy->local_namespaces = NULL;
-    soap_set_namespaces(copy, soap->local_namespaces);
+    soap_set_namespaces(copy, soap->namespaces);
 #ifdef WITH_C_LOCALE
     copy->c_locale = duplocale(soap->c_locale);
 #else
diff --git a/gsoap/stdsoap2.c b/gsoap/stdsoap2.c
index 6f05170..f31676b 100644
--- a/gsoap/stdsoap2.c
+++ b/gsoap/stdsoap2.c
@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap)
     soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
 #endif
     copy->local_namespaces = NULL;
-    soap_set_namespaces(copy, soap->local_namespaces);
+    soap_set_namespaces(copy, soap->namespaces);
 #ifdef WITH_C_LOCALE
     copy->c_locale = duplocale(soap->c_locale);
 #else
diff --git a/gsoap/stdsoap2.cpp b/gsoap/stdsoap2.cpp
index 6f05170..f31676b 100644
--- a/gsoap/stdsoap2.cpp
+++ b/gsoap/stdsoap2.cpp
@@ -8261,7 +8261,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap)
     soap_set_recv_logfile(copy, soap->logfile[SOAP_INDEX_RECV]);
 #endif
     copy->local_namespaces = NULL;
-    soap_set_namespaces(copy, soap->local_namespaces);
+    soap_set_namespaces(copy, soap->namespaces);
 #ifdef WITH_C_LOCALE
     copy->c_locale = duplocale(soap->c_locale);
 #else
-- 
1.7.6.1