* fhandler.cc (fhandler::dup): Duplicate flags, too.

* fhandler.h (fhandler_fifo::owner): Eliminate.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Handle on-disk devices
better.
(fhandler_base::fstat_helper): Ditto.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Don't initialize obsolete
"owner".
(fhandler_fifo::open_not_mine): Add some debugging.  Duplicate correct handle
when we own it.
(fhandler_fifo::open): Set flags from input, not from first pipe.  Flag that
fork fixup is needed.
(fhandler_fifo::dup): Set errno correctly when DuplicateHandle fails.
* pinfo.cc (commune_send): Add debugging for fifo.
* cygwin/version.h: Bump API minor version to 127 to reflect exporting of
sigrelese.
This commit is contained in:
Christopher Faylor
2005-04-16 05:20:01 +00:00
parent f40d6122ff
commit 06e18175e0
5 changed files with 32 additions and 8 deletions

View File

@ -252,13 +252,14 @@ details. */
123: Export utmpxname.
124: Add MAP_AUTOGROW flag to mmap.
125: LD_PRELOAD/CW_HOOK available.
126: Add lsearch, lfind, timer_gettime.
126: Export lsearch, lfind, timer_gettime.
127: Export sigrelese.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 126
#define CYGWIN_VERSION_API_MINOR 127
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible