* cygheap.cc (cygheap_user::set_name): Revert previous change.
* environ.cc (spenv::retrieve): Check return value of call to cygheap->user.*from_cygheap().
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user