* 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.
This commit is contained in:
Christopher Faylor
2012-05-12 19:17:17 +00:00
parent 991addc261
commit 348b56b5a3
5 changed files with 41 additions and 6 deletions

View File

@ -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;