diff options
author | Christopher Faylor <me@cgf.cx> | 2012-01-11 19:07:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-01-11 19:07:11 +0000 |
commit | 0e1f0840d2def205a7e2089872038930643d48f7 (patch) | |
tree | 64df2c610ceccf24f646408496023aeed8ab15fa /winsup/cygwin/sigproc.cc | |
parent | 5ecc040cff80eb26ef4977ce6dfe7f429778b584 (diff) | |
download | cygnal-0e1f0840d2def205a7e2089872038930643d48f7.tar.gz cygnal-0e1f0840d2def205a7e2089872038930643d48f7.tar.bz2 cygnal-0e1f0840d2def205a7e2089872038930643d48f7.zip |
Update copyright on all files checked in so far this year.
* fhandler.h: Use #pragma once rather than ifdef guards.
(fhandler_console::tc_getpgid): Return our pgid if we have never opened a
console.
* fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h.
* sigproc.cc: Ditto.
* spawn.cc: Ditto.
(child_info_spawn::worker): Query myself->pgid rather than calling expensive
function.
* thread.h: Use #pragma once rather than ifdef guards.
* pinfo.h: Use #pragma once rather than ifdef guards.
(pinfo::remember): Don't define if sigproc.h has not been included.
(pinfo::reattach): Ditto.
* sigproc.h: Use #pragma once rather than ifdef guards. Use different test to
see if pinfo.h has been included.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index a8c45f707..01278ef80 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1,7 +1,7 @@ /* sigproc.cc: inter/intra signal and sub process handler Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. + 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. This file is part of Cygwin. @@ -14,15 +14,14 @@ details. */ #include <stdlib.h> #include <sys/cygwin.h> #include "cygerrno.h" +#include "sigproc.h" #include "path.h" #include "fhandler.h" #include "dtable.h" -#include "sigproc.h" #include "cygheap.h" #include "child_info_magic.h" #include "shared_info.h" #include "cygtls.h" -#include "pinfo.h" #include "ntdll.h" /* |