From 7d880770d3b714835e2f0871e0d27c512f3c81b2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 6 Feb 2005 11:15:29 +0000 Subject: * path.cc (path_conv::check): Leave symlink expansion loop in case a not-ENOENT error happens. * cygheap.h (cygheap_fdmanip::fhandler_pipe *): New cast operator. * pinfo.cc (_pinfo::commune_recv): Add PICOM_PIPE_FHANDLER handling. (_pinfo::commune_send): Ditto. (_pinfo::pipe_fhandler): New method. * pinfo.h (enum picom): Add PICOM_PIPE_FHANDLER. (_pinfo::pipe_fhandler): Declare. * pipe.cc (fhandler_pipe::open): Rewrite. Allow to open foreign pipe handles. --- winsup/cygwin/cygheap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/cygheap.h') diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 43723244d..e75afe9ce 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -321,6 +321,7 @@ class cygheap_fdmanip operator int &() {return fd;} operator fhandler_base* &() {return *fh;} operator fhandler_socket* () const {return reinterpret_cast (*fh);} + operator fhandler_pipe* () const {return reinterpret_cast (*fh);} void operator = (fhandler_base *fh) {*this->fh = fh;} fhandler_base *operator -> () const {return *fh;} bool isopen () const -- cgit v1.2.3