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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-02 07:10:56 +0300
committerChristopher Faylor <me@cgf.cx>2003-12-02 07:10:56 +0300
commit93e4038242f26bd2cc2b23c9a7e5e1c8a312466f (patch)
tree628c47b249c6a2694c27c2032a81a1bc1c3e2e73 /winsup
parent5c9cceced780c222f8b5e624c97c3b6eda1c8d2c (diff)
* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/pinfo.cc2
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a20c0c2ef..e7fe0306b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-02 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * pinfo.cc (pinfo::init): Use shared_name to construct the mapname.
+
2003-12-01 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
@@ -39,7 +43,7 @@
* shared.cc (shared_name): Take into account the SE_CREATE_GLOBAL_NAME
privilege when building the name string.
(open_shared): Remove the call to OpenFileMapping.
- (shared_info::initialize): Move cygheap initialization to ...
+ (shared_info::initialize): Move cygheap initialization to ...
(memory_init): ... here. Suppress now useless shared_h variable.
(user_shared_initialize): Make tu a cygpsid.
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index b7d4bd5e8..1bd9bd4f5 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -147,7 +147,7 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
{
int created;
char mapname[CYG_MAX_PATH]; /* XXX Not a path */
- __small_sprintf (mapname, "cygpid.%x", n);
+ shared_name (mapname, "cygpid", n);
int mapsize;
if (flag & PID_EXECED)