summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2004-06-17 13:34:26 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2004-06-17 13:34:26 +0000
commitbd0e9c7aa613edfdc3146014fb73c38df4748659 (patch)
tree31f22d9165d03ec109ea29e19480599e81b8abb5 /winsup/cygwin/path.h
parent9f35b464563d391929da0326ea37c15e6099cdce (diff)
downloadcygnal-bd0e9c7aa613edfdc3146014fb73c38df4748659.tar.gz
cygnal-bd0e9c7aa613edfdc3146014fb73c38df4748659.tar.bz2
cygnal-bd0e9c7aa613edfdc3146014fb73c38df4748659.zip
2004-06-17 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::open_9x): Do not check for null name. Move debug_printf to common code line. (fhandler_base::open): Ditto. Initialize upath. Remove second argument of pc.get_nt_native_path. * path.h (path_conv::get_nt_native_path): Remove second argument. * path.cc (path_conv::get_nt_native_path): Ditto. Call str2uni_cat. * security.h (str2buf2uni_cat): Delete declaration. (str2uni_cat): New declaration. * security.cc (str2buf2uni): Get length from sys_mbstowcs call. (str2buf2uni_cat): Delete function. (str2uni_cat): New function. * miscfuncs.cc (sys_mbstowcs): Add debug_printf.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 396749b0f..82e629dde 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -192,7 +192,7 @@ class path_conv
~path_conv ();
inline char *get_win32 () { return path; }
- PUNICODE_STRING get_nt_native_path (UNICODE_STRING &upath, WCHAR *wpath);
+ PUNICODE_STRING get_nt_native_path (UNICODE_STRING &upath);
operator char *() {return path;}
operator const char *() {return path;}
operator DWORD &() {return fileattr;}