OSDN Git Service

* dtable.cc (handle_to_fn): Accomodate new argument order in call to
authorcorinna <corinna>
Tue, 7 Feb 2006 15:49:07 +0000 (15:49 +0000)
committercorinna <corinna>
Tue, 7 Feb 2006 15:49:07 +0000 (15:49 +0000)
commitba5527457fe628f8407d0290ab936e9cc2274869
tree70185f1005df4cd2a94bd43b0a8bbf64c7e53812
parent3a3831b5f822dc8ffff22196238c50d24844cf76
* dtable.cc (handle_to_fn): Accomodate new argument order in call to
sys_wcstombs.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Call sys_wcstombs
instead of just wcstombs to accomodate OEM codepages.
* miscfuncs.cc (sys_wcstombs): Split len argument in source and target
length.  Always 0-terminate result in target string.
* security.cc (lsa2wchar): Remove unused function.
(lsa2str): Ditto.
(get_lsa_srv_inf): Ditto.
(get_logon_server): Accomodate new argument order in call to
sys_wcstombs.
(get_user_groups): Ditto.
(get_user_local_groups): Ditto.
(get_priv_list): Call sys_wcstombs directly instead of lsa2str.
* uinfo.cc (cygheap_user::ontherange): Accomodate new argument order
in call to sys_wcstombs.
* winsup.h (sys_wcstombs): Change prototype to match new argument order.
winsup/cygwin/ChangeLog
winsup/cygwin/dtable.cc
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/miscfuncs.cc
winsup/cygwin/security.cc
winsup/cygwin/uinfo.cc
winsup/cygwin/winsup.h