diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/cygheap.cc | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a048c7804..4726aae4d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-11-03 Corinna Vinschen <corinna@vinschen.de> + + * cygheap.cc: Fix formatting. + 2014-10-30 Corinna Vinschen <corinna@vinschen.de> * uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd. diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index fd851ac6d..ce7b02a86 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -194,7 +194,7 @@ init_cygheap::init_installation_root () revert to Win32 path. This path is added to the Windows environment in buildenv. See there for a description. */ installation_dir_len = wcpncpy (installation_dir, installation_root + len, - PATH_MAX) + PATH_MAX) - installation_dir; if (len == 4) /* Local path */ ; @@ -223,7 +223,8 @@ init_cygheap::init_installation_root () if (cygwin_props.disable_key) { installation_key.Length = 0; - installation_key.Buffer[0] = L'\0'; } + installation_key.Buffer[0] = L'\0'; + } } void __stdcall |