OSDN Git Service

* sigproc.cc (waitq_head): Don't initialize to zero.
authorcgf <cgf>
Fri, 14 Jul 2006 00:50:54 +0000 (00:50 +0000)
committercgf <cgf>
Fri, 14 Jul 2006 00:50:54 +0000 (00:50 +0000)
* sigproc.h: Update copyright, fix whitespace.

winsup/cygwin/ChangeLog
winsup/cygwin/sigproc.cc
winsup/cygwin/sigproc.h

index e0f64e3..2877f44 100644 (file)
@@ -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.
 
index a14b260..d2c9109 100644 (file)
@@ -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
 
index 4657f6d..5fef01d 100644 (file)
@@ -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*/