]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: drop last usage of RtlCreateUnicodeStringFromAsciiz
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 5 Aug 2022 09:45:49 +0000 (11:45 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 5 Aug 2022 09:45:49 +0000 (11:45 +0200)
commitd097a96e6e5319ab622d5d737c70b21e4a231bec
tree9cb5ad3d5af57c4114a8ffa314f9f98f329b2004
parent249f42d07a447ceb6fe22db5a2570f913cb5b4e5
Cygwin: drop last usage of RtlCreateUnicodeStringFromAsciiz

This function is just bad.  It really only works for ASCII
chars, everything else is broken after the conversion.

Introduce new helper function sys_mbstouni to replace
RtlCreateUnicodeStringFromAsciiz in hash_path_name.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/ntdll.h
winsup/cygwin/path.cc
winsup/cygwin/wchar.h
This page took 0.028127 seconds and 5 git commands to generate.