* cygheap.cc (cygheap_init): Set umask to a sane default.
* uinfo.cc (cygheap_user::ontherange): Don't use HOMEDRIVE/HOMEPATH to set HOME. Default to /home/USERNAME.
This commit is contained in:
@@ -156,6 +156,8 @@ cygheap_init ()
|
||||
_cygheap_mid - _cygheap_start);
|
||||
cygheap_max = cygheap;
|
||||
_csbrk (sizeof (*cygheap));
|
||||
/* Set umask to a sane default. */
|
||||
cygheap->umask = 022;
|
||||
}
|
||||
if (!cygheap->fdtab)
|
||||
cygheap->fdtab.init ();
|
||||
|
Reference in New Issue
Block a user