+2006-07-13 Christopher Faylor <cgf@timesys.com>
+
+ * fhandler.cc (fhandler_base::raw_read): Only return EISDIR when we're
+ really trying to read a directory.
+
+ * sigproc.cc: Use "Static" where appropriate.
+
2006-07-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc: Update copyright.
case ERROR_INVALID_FUNCTION:
case ERROR_INVALID_PARAMETER:
case ERROR_INVALID_HANDLE:
- if (openflags & O_DIROPEN)
+ if (pc.isdir ())
{
set_errno (EISDIR);
bytes_read = (size_t) -1;
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
// 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;
friend DWORD WINAPI wait_sig (VOID *arg);
};
-static pending_signals sigq;
+Static pending_signals sigq;
/* Functions */
void __stdcall