diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-09-11 07:57:39 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-09-11 07:57:39 +0000 |
commit | d99e72dc52a5e1470d4580072f840b35d4213827 (patch) | |
tree | ad245d1f206e124837ccbeac890814688190aa07 /winsup/cygwin/shared.cc | |
parent | a5ba4027f407e7f65172da83f3b4e0da09593913 (diff) | |
download | newlib-d99e72dc52a5e1470d4580072f840b35d4213827.zip newlib-d99e72dc52a5e1470d4580072f840b35d4213827.tar.gz newlib-d99e72dc52a5e1470d4580072f840b35d4213827.tar.bz2 |
* shared.cc (user_shared_initialize): Revert length attribute for name
variable to be just UNLEN + 1.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 22f0449..f4eb7d9 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -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 ()) { |