From e8bf2329496eb61558898c987b1a245d6f5ff40f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 13 Jul 2006 20:56:24 +0000 Subject: * fhandler.cc (fhandler_base::raw_read): Only return EISDIR when we're really trying to read a directory. * sigproc.cc: Use "Static" where appropriate. --- winsup/cygwin/sigproc.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index be0d91c8c..a14b26042 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -61,10 +61,10 @@ HANDLE NO_COPY signal_arrived; // Event signaled when a signal has HANDLE NO_COPY sigCONT; // Used to "STOP" a process -cygthread *hwait_sig; +cygthread NO_COPY *hwait_sig; Static HANDLE wait_sig_inited; // Control synchronization of // message queue startup -static NO_COPY bool sigheld; // True if holding signals +Static bool sigheld; // True if holding signals Static int nprocs; // Number of deceased children Static char cprocs[(NPROCS + 1) * sizeof (pinfo)];// All my children info @@ -72,7 +72,7 @@ Static char cprocs[(NPROCS + 1) * sizeof (pinfo)];// All my children info // constructor operation at DLL startup Static waitq waitq_head = {0, 0, 0, 0, 0, 0, 0};// Start of queue for wait'ing threads -static muto NO_COPY sync_proc_subproc; // Control access to subproc stuff +Static muto sync_proc_subproc; // Control access to subproc stuff _cygtls NO_COPY *_sig_tls; @@ -106,7 +106,7 @@ public: friend DWORD WINAPI wait_sig (VOID *arg); }; -static pending_signals sigq; +Static pending_signals sigq; /* Functions */ void __stdcall -- cgit v1.2.3