diff options
author | Christopher Faylor <me@cgf.cx> | 2006-07-14 00:50:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-07-14 00:50:55 +0000 |
commit | 6b838263ea2bed15f7b2953cf899cf60c417d79d (patch) | |
tree | f5f486c690beb7ea76ce9fc8989cb9d9c417edeb | |
parent | 2d73611e56143c3759c1051c2a0907686fb6fbb1 (diff) | |
download | cygnal-6b838263ea2bed15f7b2953cf899cf60c417d79d.tar.gz cygnal-6b838263ea2bed15f7b2953cf899cf60c417d79d.tar.bz2 cygnal-6b838263ea2bed15f7b2953cf899cf60c417d79d.zip |
* sigproc.cc (waitq_head): Don't initialize to zero.
* sigproc.h: Update copyright, fix whitespace.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.h | 4 |
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*/ |