projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tests to compile again - add missing headers to W32, call correct process-id...
[platform/upstream/glib.git]
/
gio
/
tests
/
win32-streams.c
diff --git
a/gio/tests/win32-streams.c
b/gio/tests/win32-streams.c
index
b9d95f9
..
6451a9f
100644
(file)
--- a/
gio/tests/win32-streams.c
+++ b/
gio/tests/win32-streams.c
@@
-339,7
+339,7
@@
test_pipe_io_overlap (void)
gchar name[256];
g_snprintf (name, sizeof (name),
gchar name[256];
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-overlap-%u", (guint)
getpi
d ());
+ "\\\\.\\pipe\\gtest-io-overlap-%u", (guint)
GetCurrentProcessI
d ());
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
@@
-418,7
+418,7
@@
test_pipe_io_concurrent (void)
gchar name[256], c;
g_snprintf (name, sizeof (name),
gchar name[256], c;
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint)
getpi
d ());
+ "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint)
GetCurrentProcessI
d ());
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
@@
-490,7
+490,7
@@
test_pipe_io_cancel (void)
gchar name[256];
g_snprintf (name, sizeof (name),
gchar name[256];
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-cancel-%u", (guint)
getpi
d ());
+ "\\\\.\\pipe\\gtest-io-cancel-%u", (guint)
GetCurrentProcessI
d ());
in_handle = CreateNamedPipe (name,
PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,
in_handle = CreateNamedPipe (name,
PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,