[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26116 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26116 - gnunet/src/util |
Date: |
Thu, 14 Feb 2013 17:15:19 +0100 |
Author: LRN
Date: 2013-02-14 17:15:19 +0100 (Thu, 14 Feb 2013)
New Revision: 26116
Modified:
gnunet/src/util/disk.c
Log:
Minimal W32 version to XP, use uniqueness flag
Modified: gnunet/src/util/disk.c
===================================================================
--- gnunet/src/util/disk.c 2013-02-14 16:15:15 UTC (rev 26115)
+++ gnunet/src/util/disk.c 2013-02-14 16:15:19 UTC (rev 26116)
@@ -2258,9 +2258,8 @@
* a waste, since only a single direction is actually used.
* It's important to only allow a single instance, to ensure that
* the pipe was not created earlier by some other process, even if
- * the pid has been reused. We avoid FILE_FLAG_FIRST_PIPE_INSTANCE
- * because that is only available for Win2k SP2 and WinXP. */
- read_pipe = CreateNamedPipeA (pipename, PIPE_ACCESS_INBOUND | dwReadMode,
PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, 1, /* max instances */
+ * the pid has been reused. */
+ read_pipe = CreateNamedPipeA (pipename, PIPE_ACCESS_INBOUND |
FILE_FLAG_FIRST_PIPE_INSTANCE | dwReadMode, PIPE_TYPE_BYTE |
PIPE_READMODE_BYTE, 1, /* max instances */
psize, /* output buffer size */
psize, /* input buffer size */
NMPWAIT_USE_DEFAULT_WAIT, sa_ptr);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26116 - gnunet/src/util,
gnunet <=