diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-16 19:07:42 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-16 19:07:42 +0400 |
commit | 29992bf3dad77669ffbedd92d3075a5fb1b1a1ae (patch) | |
tree | 6328ddc2468de168a4eddfe061babb84177fd960 /winsup/cygwin/uinfo.cc | |
parent | 29fec364c0ccf362af6cc232dbc2f3cbf3ec877e (diff) |
* path.h (path_conv::operator char *): Delete.
(path_conv::operator const char *): Delete.
* dlfcn.cc: Throughout, replace path_conv::operator char * and
path_conv::operator const char * by call to path_conv::get_win32
for easier transition to UNICODE_PATHs.
* fhandler_socket.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index a6d8c41b3..4ebe7245c 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -518,7 +518,7 @@ pwdgrp::load (const char *posix_fname) curr_lines = 0; pc.check (posix_fname); - etc_ix = etc::init (etc_ix, pc); + etc_ix = etc::init (etc_ix, pc.get_win32 ()); paranoid_printf ("%s", posix_fname); @@ -529,8 +529,9 @@ pwdgrp::load (const char *posix_fname) } else { - HANDLE fh = CreateFile (pc, GENERIC_READ, FILE_SHARE_VALID_FLAGS, NULL, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); + HANDLE fh = CreateFile (pc.get_win32 (), GENERIC_READ, + FILE_SHARE_VALID_FLAGS, NULL, OPEN_EXISTING, + FILE_ATTRIBUTE_NORMAL, 0); if (fh == INVALID_HANDLE_VALUE) { paranoid_printf ("%s CreateFile failed, %E"); |