[newlib-cygwin] Cygwin: FIFO: Open only one handle to NPFS

Ken Brown kbrown@sourceware.org
Thu May 23 12:56:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5bb8d445f480ee344e81326d8387da0c4ef009c8

commit 5bb8d445f480ee344e81326d8387da0c4ef009c8
Author: Ken Brown <kbrown@cornell.edu>
Date:   Thu May 23 08:34:09 2019 -0400

    Cygwin: FIFO: Open only one handle to NPFS
    
    Make npfs_handle a static member function of fhandler_fifo, as in
    fhandler_socket_unix.

Diff:
---
 winsup/cygwin/fhandler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 969b23a..f244f34 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1267,7 +1267,7 @@ class fhandler_fifo: public fhandler_base
   bool reader, writer, duplexer;
   size_t max_atomic_write;
   bool __reg2 wait (HANDLE);
-  NTSTATUS npfs_handle (HANDLE &);
+  static NTSTATUS npfs_handle (HANDLE &);
   HANDLE create_pipe_instance (bool);
   NTSTATUS open_pipe (HANDLE&);
   int add_client_handler ();



More information about the Cygwin-cvs mailing list