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>2005-12-22 08:57:54 +0300
committerChristopher Faylor <me@cgf.cx>2005-12-22 08:57:54 +0300
commitde935f6d9feb4a671580ad0f685a810749e8ab02 (patch)
treec9df2c01bc228f9f6f5e486efe559a9f8ef56905 /winsup/cygwin/pinfo.cc
parent718dee922f2a168f752a7bceb93f85d114aaceb7 (diff)
whitespace cleanup to force snapshot.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 2cf848ebf..cc7cdbf78 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -1176,14 +1176,14 @@ out:
the function will exit without adding anything to the pid list.
If p is "true" then we've discovered a cygwin process.
-
+
Handle "myself" differently. Don't copy it and close/zero the handle we
just opened to it.
If not performing a copy, then keep the process handle open for the duration
of the life of the procinfo region to potential races when a new process uses
this pid.
Otherwise, malloc some memory for a copy of the shared memory.
-
+
If the malloc failed, then "oh well". Just keep the shared memory around
and eventually close the handle when the winpids goes out of scope.