From c5d751a6587f8c3d21205db70e7f66ab8801f8ad Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 3 Nov 2014 15:30:59 +0000 Subject: [PATCH] * cygheap.cc: Fix formatting. --- winsup/cygwin/ChangeLog | 4 ++++ 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 + + * cygheap.cc: Fix formatting. + 2014-10-30 Corinna Vinschen * 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