Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-05-12 23:17:17 +0400
committerChristopher Faylor <me@cgf.cx>2012-05-12 23:17:17 +0400
commit348b56b5a34e2037b98c30f229b16d1a7468a921 (patch)
tree3c633c49b16c011dfe1b8548e25493fce6fd5bdd /winsup/cygwin/fhandler.h
parent991addc2617fcfde49ffd3a05e1b26f3cfc7c918 (diff)
* DevNotes: Add entry cgf-000005.
* fhandler.h (PIPE_ADD_PID): Redefine to something we actually DON'T use. * pipe.cc (fhandler_pipe::create): Avoid clearing all open_mode bits when checking for PIPE_ADD_PID. Properly keep track of len so that passed in name is not overwritten.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 2a639cda8..18e829aa6 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -38,7 +38,7 @@ details. */
/* Used for fhandler_pipe::create. Use an available flag which will
never be used in Cygwin for this function. */
-#define PIPE_ADD_PID PIPE_ACCESS_OUTBOUND
+#define PIPE_ADD_PID FILE_FLAG_FIRST_PIPE_INSTANCE
extern const char *windows_device_names[];
extern struct __cygwin_perfile *perfile_table;