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/syscalls.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/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 63df37e2c..905f77425 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1125,7 +1125,7 @@ umask (mode_t mask) int chmod_device (path_conv& pc, mode_t mode) { - return mknod_worker (pc, pc.dev.mode & S_IFMT, mode, pc.dev.major, pc.dev.minor); + return mknod_worker (pc.get_win32 (), pc.dev.mode & S_IFMT, mode, pc.dev.major, pc.dev.minor); } /* chmod: POSIX 5.6.4.1 */ @@ -2395,7 +2395,7 @@ mknod32 (const char *path, mode_t mode, __dev32_t dev) return -1; } - return mknod_worker (w32path, type, mode, major, minor); + return mknod_worker (w32path.get_win32 (), type, mode, major, minor); } extern "C" int @@ -2702,7 +2702,7 @@ chroot (const char *newroot) else { getwinenv("PATH="); /* Save the native PATH */ - cygheap->root.set (path.normalized_path, path); + cygheap->root.set (path.normalized_path, path.get_win32 ()); ret = 0; } |