]> sourceware.org Git - newlib-cygwin.git/commit
* Makefile.in (cygpath.exe): Add -luserenv to ALL_LDFLAGS.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 2 Dec 2011 16:15:26 +0000 (16:15 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 2 Dec 2011 16:15:26 +0000 (16:15 +0000)
commit71148bfcd5b54510a4d9dce1469b888e0a1b3f33
treeafd7abeecc1be82a2ec285a1f17ae3284225040a
parenta887cf0ef548eafaa7f8d916dd64828501622218
* Makefile.in (cygpath.exe): Add -luserenv to ALL_LDFLAGS.
* cygpath.cc: Throughout, use cygwin_conv_path WIN_W rather than WIN_A
conversion.
(get_long_path_name_w32impl): Remove.
(get_long_name): Drop pre-Windows 2000 accommodations.  Just call
GetLongPathNameW here directly.
(get_special_folder): Convert first parameter to WCHAR buffer pointer.
Drop conversion of result from WCHAR * to char *.
(do_sysfolders): Accommodate change to get_special_folder and only
convert result to char * last.  Drop pre-Windows 2000 accommodations
and just call GetProfilesDirectoryW directly.  Replace call to
GetWindowsDirectoryW with call to GetSystemWindowsDirectoryW.
Just call GetShortPathNameW directly.
(do_pathconv): Simplify buffer handling.
winsup/utils/ChangeLog
winsup/utils/Makefile.in
winsup/utils/cygpath.cc
This page took 0.028741 seconds and 5 git commands to generate.