diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-01 16:37:46 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-01 16:37:46 +0000 |
commit | b5e1ec76321ff83c3fea18155ff3440eaa344b54 (patch) | |
tree | b4e04b46e6d9299b5fc1066136d82f130ab9b1e8 /winsup/cygwin/uinfo.cc | |
parent | db57a3633615f6863b42c1ed694752dd4d70cc50 (diff) | |
download | newlib-b5e1ec76321ff83c3fea18155ff3440eaa344b54.zip newlib-b5e1ec76321ff83c3fea18155ff3440eaa344b54.tar.gz newlib-b5e1ec76321ff83c3fea18155ff3440eaa344b54.tar.bz2 |
* debug.cc (threads): Avoid initialization.
* uinfo.cc (cygheap_user::ontherange): (from Corinna Vinschen) Actually make
below changes work.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 2e7f65c..ec0420c 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -257,7 +257,6 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw) sys_mbstowcs (wuser, winname (), sizeof (wuser) / sizeof (*wuser)); if (!(ret = NetUserGetInfo (wlogsrv, wuser, 3,(LPBYTE *)&ui))) { - char *p; sys_wcstombs (homepath_env_buf, ui->usri3_home_dir, MAX_PATH); if (!homepath_env_buf[0]) { @@ -266,7 +265,7 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw) if (homepath_env_buf[0]) strcat (homepath_env_buf, "\\"); else - cygwin_conv_to_full_posix_path (homepath_env_buf, "/"); + cygwin_conv_to_full_win32_path ("/", homepath_env_buf); } } } |