Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-17 06:10:13 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-17 06:10:13 +0400
commit11dcd1546f348b94a32fb4f8569b1991cb99d036 (patch)
tree312ddded84eff76cef524891c42b39f33712deee /winsup/cygwin/fhandler_process.cc
parent9ee691211b3e29d9a3b69ece65b709cae6855659 (diff)
* fhandler_process.cc (fhandler_process::fill_filebuf): Open pinfo with
PID_MAP_RW. * sigproc.cc (talktome): Ditto for winpids.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r--winsup/cygwin/fhandler_process.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
index 44b7189b3..2ba1e5326 100644
--- a/winsup/cygwin/fhandler_process.cc
+++ b/winsup/cygwin/fhandler_process.cc
@@ -245,7 +245,8 @@ out:
bool
fhandler_process::fill_filebuf ()
{
- pinfo p (pid);
+ pinfo p (pid, PID_MAP_RW); // PID_MAP_RW for cmdline since it
+ // needs to signal the other process
if (!p)
{