26fb7ef5e4
to WCHAR win32 path, including long path conversion if necessary. * cygcheck.cc: Use class wide_path throughout to call Win32 functions taking potentially long filenames. (display_error): Use snprintf rather than sprintf. (display_error_fmt): Ditto. (dump_sysinfo): Use FindFirstFileW/FindNextFileW. * cygpath.cc: Use class wide_path throughout to call Win32 functions taking potentially long filenames. (get_device_name): Raise buffer size to take long pathnames. (get_short_paths): Convert to using GetShortPathNameW. (get_short_name): Ditto. (get_long_path_name_w32impl): Convert to equivalent of GetLongPathNameW. (get_long_name): Convert to using GetLongPathNameW. (do_sysfolders): Raise buffer size for POSIX pathname to PATH_MAX. (do_pathconv): In case of POSIX->Win32 conversion, convert to wchar_t Win32 path name and drop long pathname prefix if possible. (main): Call setlocale to accommodate wide char/multibyte conversions. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
bloda.cc | ||
ChangeLog | ||
ChangeLog-2000 | ||
configure | ||
configure.in | ||
COPYING.dumper | ||
cygcheck.cc | ||
cygpath.cc | ||
dump_setup.cc | ||
dumper.cc | ||
dumper.h | ||
getfacl.c | ||
kill.cc | ||
ldd.cc | ||
Makefile.in | ||
mingw | ||
mkgroup.c | ||
mkpasswd.c | ||
module_info.cc | ||
mount.cc | ||
parse_pe.cc | ||
passwd.c | ||
path.cc | ||
path.h | ||
ps.cc | ||
regtool.cc | ||
setfacl.c | ||
setmetamode.c | ||
ssp.c | ||
ssp.txt | ||
strace.cc | ||
testsuite.cc | ||
testsuite.h | ||
umount.cc | ||
utils.sgml | ||
wide_path.h |