+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
* 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.
{
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)