From 0e6d80e4fa95a35c1a871e4aed5b3153529b8594 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 13 Jun 2002 16:30:18 +0000 Subject: * cygheap.cc (cygheap_user::set_name): Revert previous change. * environ.cc (spenv::retrieve): Check return value of call to cygheap->user.*from_cygheap(). --- winsup/cygwin/cygheap.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/cygheap.cc') diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 3fd2aacc9..723fde2ff 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -443,6 +443,8 @@ cygheap_user::set_name (const char *new_name) if (pname) cfree (pname); pname = cstrdup (new_name ? new_name : ""); + homedrive = NULL; + homepath = NULL; } void -- cgit v1.2.3