diff options
author | Christopher Faylor <me@cgf.cx> | 2012-05-12 19:17:17 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-05-12 19:17:17 +0000 |
commit | 348b56b5a34e2037b98c30f229b16d1a7468a921 (patch) | |
tree | 3c633c49b16c011dfe1b8548e25493fce6fd5bdd /winsup/cygwin/fhandler.h | |
parent | 991addc2617fcfde49ffd3a05e1b26f3cfc7c918 (diff) | |
download | cygnal-348b56b5a34e2037b98c30f229b16d1a7468a921.tar.gz cygnal-348b56b5a34e2037b98c30f229b16d1a7468a921.tar.bz2 cygnal-348b56b5a34e2037b98c30f229b16d1a7468a921.zip |
* 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.h | 2 |
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; |