summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sigproc.cc2
-rw-r--r--winsup/cygwin/sigproc.h4
3 files changed, 8 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e0f64e3ae..2877f44fb 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2006-07-13 Christopher Faylor <cgf@timesys.com>
+ * sigproc.cc (waitq_head): Don't initialize to zero.
+ * sigproc.h: Update copyright, fix whitespace.
+
+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.
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index a14b26042..d2c9109c8 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -70,7 +70,7 @@ Static int nprocs; // Number of deceased children
Static char cprocs[(NPROCS + 1) * sizeof (pinfo)];// All my children info
#define procs ((pinfo *) cprocs) // All this just to avoid expensive
// constructor operation at DLL startup
-Static waitq waitq_head = {0, 0, 0, 0, 0, 0, 0};// Start of queue for wait'ing threads
+Static waitq waitq_head; // Start of queue for wait'ing threads
Static muto sync_proc_subproc; // Control access to subproc stuff
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 4657f6d29..5fef01d7a 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -1,6 +1,6 @@
/* sigproc.h
- Copyright 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
+ Copyright 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
This file is part of Cygwin.
@@ -94,5 +94,5 @@ extern struct sigaction *global_sigs;
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_NORMAL
-#define myself_nowait ((_pinfo *)myself_nowait_dummy)
+#define myself_nowait ((_pinfo *) myself_nowait_dummy)
#endif /*_SIGPROC_H*/