Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
91ef13ce
Commit
91ef13ce
authored
Oct 17, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Don't set the critical section name in the Windows build.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bdce2521
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
8 deletions
+37
-8
channel.c
dlls/webservices/channel.c
+8
-8
error.c
dlls/webservices/error.c
+4
-0
heap.c
dlls/webservices/heap.c
+4
-0
listener.c
dlls/webservices/listener.c
+4
-0
msg.c
dlls/webservices/msg.c
+4
-0
proxy.c
dlls/webservices/proxy.c
+4
-0
reader.c
dlls/webservices/reader.c
+5
-0
writer.c
dlls/webservices/writer.c
+4
-0
No files found.
dlls/webservices/channel.c
View file @
91ef13ce
...
...
@@ -251,13 +251,13 @@ static struct channel *alloc_channel(void)
ret
->
magic
=
CHANNEL_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": channel.cs"
);
InitializeCriticalSection
(
&
ret
->
send_q
.
cs
);
ret
->
send_q
.
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": channel.send_q.cs"
);
InitializeCriticalSection
(
&
ret
->
recv_q
.
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": channel.cs"
);
ret
->
send_q
.
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": channel.send_q.cs"
);
ret
->
recv_q
.
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": channel.recv_q.cs"
);
#endif
prop_init
(
channel_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -342,13 +342,13 @@ static void free_channel( struct channel *channel )
heap_free
(
channel
->
read_buf
);
#ifndef __MINGW32__
channel
->
send_q
.
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
channel
->
send_q
.
cs
);
channel
->
recv_q
.
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
channel
->
recv_q
.
cs
);
channel
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
channel
->
send_q
.
cs
);
DeleteCriticalSection
(
&
channel
->
recv_q
.
cs
);
DeleteCriticalSection
(
&
channel
->
cs
);
heap_free
(
channel
);
}
...
...
dlls/webservices/error.c
View file @
91ef13ce
...
...
@@ -57,7 +57,9 @@ static struct error *alloc_error(void)
ret
->
magic
=
ERROR_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": error.cs"
);
#endif
prop_init
(
error_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -66,7 +68,9 @@ static struct error *alloc_error(void)
static
void
free_error
(
struct
error
*
error
)
{
#ifndef __MINGW32__
error
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
error
->
cs
);
heap_free
(
error
);
}
...
...
dlls/webservices/heap.c
View file @
91ef13ce
...
...
@@ -185,7 +185,9 @@ static struct heap *alloc_heap(void)
ret
->
magic
=
HEAP_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": heap.cs"
);
#endif
prop_init
(
heap_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -245,7 +247,9 @@ void WINAPI WsFreeHeap( WS_HEAP *handle )
LeaveCriticalSection
(
&
heap
->
cs
);
#ifndef __MINGW32__
heap
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
heap
->
cs
);
heap_free
(
heap
);
}
...
...
dlls/webservices/listener.c
View file @
91ef13ce
...
...
@@ -139,7 +139,9 @@ static struct listener *alloc_listener(void)
return
NULL
;
}
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": listener.cs"
);
#endif
prop_init
(
listener_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -175,7 +177,9 @@ static void free_listener( struct listener *listener )
CloseHandle
(
listener
->
wait
);
CloseHandle
(
listener
->
cancel
);
#ifndef __MINGW32__
listener
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
listener
->
cs
);
heap_free
(
listener
);
}
...
...
dlls/webservices/msg.c
View file @
91ef13ce
...
...
@@ -106,7 +106,9 @@ static struct msg *alloc_msg(void)
ret
->
header_size
=
HEADER_ARRAY_SIZE
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": msg.cs"
);
#endif
prop_init
(
msg_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -162,7 +164,9 @@ static void free_msg( struct msg *msg )
WsFreeHeap
(
msg
->
heap
);
heap_free
(
msg
->
header
);
#ifndef __MINGW32__
msg
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
msg
->
cs
);
heap_free
(
msg
);
}
...
...
dlls/webservices/proxy.c
View file @
91ef13ce
...
...
@@ -63,7 +63,9 @@ static struct proxy *alloc_proxy(void)
ret
->
magic
=
PROXY_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": proxy.cs"
);
#endif
prop_init
(
proxy_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -81,7 +83,9 @@ static void free_proxy( struct proxy *proxy )
reset_proxy
(
proxy
);
WsFreeChannel
(
proxy
->
channel
);
#ifndef __MINGW32__
proxy
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
proxy
->
cs
);
heap_free
(
proxy
);
}
...
...
dlls/webservices/reader.c
View file @
91ef13ce
...
...
@@ -418,7 +418,9 @@ static struct reader *alloc_reader(void)
ret
->
magic
=
READER_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": reader.cs"
);
#endif
prop_init
(
reader_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -513,7 +515,10 @@ static void free_reader( struct reader *reader )
destroy_nodes
(
reader
->
root
);
clear_prefixes
(
reader
->
prefixes
,
reader
->
nb_prefixes
);
heap_free
(
reader
->
prefixes
);
#ifndef __MINGW32__
reader
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
reader
->
cs
);
heap_free
(
reader
);
}
...
...
dlls/webservices/writer.c
View file @
91ef13ce
...
...
@@ -107,7 +107,9 @@ static struct writer *alloc_writer(void)
ret
->
magic
=
WRITER_MAGIC
;
InitializeCriticalSection
(
&
ret
->
cs
);
#ifndef __MINGW32__
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": writer.cs"
);
#endif
prop_init
(
writer_props
,
count
,
ret
->
prop
,
&
ret
[
1
]
);
ret
->
prop_count
=
count
;
...
...
@@ -120,7 +122,9 @@ static void free_writer( struct writer *writer )
free_xml_string
(
writer
->
current_ns
);
WsFreeHeap
(
writer
->
output_heap
);
#ifndef __MINGW32__
writer
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
#endif
DeleteCriticalSection
(
&
writer
->
cs
);
heap_free
(
writer
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment