* shared.cc (shared_name): New function for WCHAR names.

(open_shared): Take name parameter as WCHAR.  Accommodate throughout.
	* shared_info.h ((CURR_SHARED_MAGIC): Redefine.
	(shared_name): Add declaration for function taking a WCHAR name.
	(open_shared): Change declaration according to above change.
	* pinfo.cc (pinfo::init) : Accommodate above change.
This commit is contained in:
Corinna Vinschen
2009-01-26 13:42:37 +00:00
parent b89fb103f2
commit 555a908c17
4 changed files with 34 additions and 16 deletions

View File

@@ -227,7 +227,7 @@ pinfo::init (pid_t n, DWORD flag, HANDLE h0)
else
mapsize = sizeof (_pinfo);
procinfo = (_pinfo *) open_shared ("cygpid", n, h0, mapsize, shloc,
procinfo = (_pinfo *) open_shared (L"cygpid", n, h0, mapsize, shloc,
sec_attribs, access);
if (!h0)
{