diff options
author | Christopher Faylor <me@cgf.cx> | 2008-03-22 21:04:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-03-22 21:04:16 +0000 |
commit | 1ffe3e67b1f055a8a81a0e6cefad78f0df795aa6 (patch) | |
tree | ed5f5769fbd3fe5e94aeabec3c59976e9fcec8c0 /winsup/cygwin/fhandler.h | |
parent | b00c2ef98fa090eb395212c47b427cf3ebae0d79 (diff) | |
download | cygnal-1ffe3e67b1f055a8a81a0e6cefad78f0df795aa6.tar.gz cygnal-1ffe3e67b1f055a8a81a0e6cefad78f0df795aa6.tar.bz2 cygnal-1ffe3e67b1f055a8a81a0e6cefad78f0df795aa6.zip |
* dtable.cc: Define various device-related string constants as wide character
constants.
(dtable::init_std_file_from_handle): Reorganize pipe handling to try to catch
special tty case.
(build_fh_name_worker): Declare for common use.
(build_fh_name): Define char version.
(build_fh_name): Define (currently unused) UNICODE_STRING version.
(decode_tty): Detect if pipe is actually a cygwin tty, returning the tty name
in the buffer.
(handle_to_fn): Reorganize to use wide characters.
* dtable.h (build_fh_name): Declare (currently unused) UNICODE_STRING version.
* fhandler_tty.cc (fhandler_pty_master::setup): Use
fhandler_pipe::create_selectable to create a pipe with a given name.
* pipe.cc (pipe_handler): Make returned handle inheritable.
(fhandler_pipe::create_selectable): Take an optional name. Use a standard
cygwin introducer for the name.
* path.cc (path_conv::check): Make first argument const.
* path.h (path_conv::check): Ditto for declaration.
(path_conv::path_conv): Ditto for UNICODE_STRING version.
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 f78861cde..a80ae8dd4 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -551,7 +551,7 @@ public: int ready_for_read (int fd, DWORD howlong); void init (HANDLE, DWORD, mode_t); static int create (fhandler_pipe *[2], unsigned, int); - static int create_selectable (LPSECURITY_ATTRIBUTES, HANDLE&, HANDLE&, DWORD); + static int create_selectable (LPSECURITY_ATTRIBUTES, HANDLE&, HANDLE&, DWORD, const char * = NULL); }; enum fifo_state |