* shared.cc (user_shared_initialize): Revert length attribute for name
variable to be just UNLEN + 1.
This commit is contained in:
parent
a5ba4027f4
commit
d99e72dc52
|
@ -1,3 +1,8 @@
|
|||
2003-09-11 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* shared.cc (user_shared_initialize): Revert length attribute for name
|
||||
variable to be just UNLEN + 1.
|
||||
|
||||
2003-09-10 Pierre Humblet <pierre.humblet@ieee.org>
|
||||
|
||||
* shared_info.h (shared_info::initialize): Remove argument.
|
||||
|
|
|
@ -148,7 +148,7 @@ open_shared (const char *name, int n, HANDLE &shared_h, DWORD size,
|
|||
void
|
||||
user_shared_initialize ()
|
||||
{
|
||||
char name[UNLEN > 127 ? UNLEN + 1 : 128] = "";
|
||||
char name[UNLEN + 1] = "";
|
||||
|
||||
if (wincap.has_security ())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue