* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.

This commit is contained in:
Christopher Faylor 2003-12-02 04:10:56 +00:00
parent 5c9cceced7
commit 93e4038242
2 changed files with 6 additions and 2 deletions

View 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

View 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)