diff options
author | Christopher Faylor <me@cgf.cx> | 2005-09-02 17:12:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-09-02 17:12:37 +0000 |
commit | 414808f9e01ce103d2bc67d4ddaa802125ce5512 (patch) | |
tree | 2fc20623e4d929db4b68506c21a5a74edfb41276 /winsup/cygwin/pinfo.cc | |
parent | 8f36ef2f33ab096ea580dc4fdbaf6565b561e65f (diff) | |
download | cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.gz cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.bz2 cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.zip |
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 1a08f575b..0e89ca03b 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -1196,8 +1196,7 @@ winpids::add (DWORD& nelem, bool winpid, DWORD pid) pinfolist = (pinfo *) realloc (pinfolist, size_pinfolist (npidlist + 1)); } - pinfolist[nelem].init (cygpid, PID_NOREDIR | (winpid ? PID_ALLPIDS : 0) - | pinfo_access, NULL); + pinfolist[nelem].init (cygpid, PID_NOREDIR | pinfo_access, NULL); if (winpid) goto out; @@ -1205,7 +1204,7 @@ winpids::add (DWORD& nelem, bool winpid, DWORD pid) { if (!pinfo_access) return; - pinfolist[nelem].init (cygpid, PID_NOREDIR | (winpid ? PID_ALLPIDS : 0), NULL); + pinfolist[nelem].init (cygpid, PID_NOREDIR, NULL); if (!pinfolist[nelem]) return; } |