]> sourceware.org Git - newlib-cygwin.git/commitdiff
* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.
authorChristopher Faylor <me@cgf.cx>
Tue, 2 Dec 2003 04:10:56 +0000 (04:10 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 2 Dec 2003 04:10:56 +0000 (04:10 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/pinfo.cc

index a20c0c2efa2686f906e2e1043a2a5fc0d072a0ef..e7fe0306bf42b854ef9e67d2fd9d67df67c6cb87 100644 (file)
@@ -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.
 
index b7d4bd5e828762c116bd635cce79730ec7a9aaa0..1bd9bd4f586417d3c0eb932f7a331d16cf3451de 100644 (file)
@@ -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)
This page took 0.030925 seconds and 5 git commands to generate.