X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Ftests%2Fwin32-streams.c;h=6451a9faa026984108d23eef2aff1bbea4ca92c8;hb=4f734873006729d18551c215d9dcf22392dbeaf3;hp=b9d95f9aea6e553698faff250424837d90f13212;hpb=7e0cb48dee9a8ecd87d403b7941ad3209eee658c;p=platform%2Fupstream%2Fglib.git diff --git a/gio/tests/win32-streams.c b/gio/tests/win32-streams.c index b9d95f9..6451a9f 100644 --- 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), - "\\\\.\\pipe\\gtest-io-overlap-%u", (guint) getpid ()); + "\\\\.\\pipe\\gtest-io-overlap-%u", (guint) GetCurrentProcessId ()); 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), - "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint) getpid ()); + "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint) GetCurrentProcessId ()); 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), - "\\\\.\\pipe\\gtest-io-cancel-%u", (guint) getpid ()); + "\\\\.\\pipe\\gtest-io-cancel-%u", (guint) GetCurrentProcessId ()); in_handle = CreateNamedPipe (name, PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,