]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/windows: correct GetACP and MultiByteToWideChar
authorAlex Brainman <alex.brainman@gmail.com>
Mon, 21 Dec 2015 05:16:06 +0000 (16:16 +1100)
committerRuss Cox <rsc@golang.org>
Fri, 8 Jan 2016 16:15:59 +0000 (16:15 +0000)
commitd75acd67eccbfe6f03b6474baea3b569cd0135d6
tree5a0770b3174ea63ecef80d2b2a8adb84fd559588
parent5755c011de9c75a05825b0c08ce61c77c5207f1d
internal/syscall/windows: correct GetACP and MultiByteToWideChar

CL 4310 introduced these functions, but their
implementation does not match with their published
documentation. Correct the implementation.

Change-Id: I285e41f9c7c5fc4e550ff59b0adb8b2bcbf6737a
Reviewed-on: https://go-review.googlesource.com/17997
Reviewed-by: Yasuhiro MATSUMOTO <mattn.jp@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
src/internal/syscall/windows/syscall_windows.go
src/internal/syscall/windows/zsyscall_windows.go
src/os/file_windows.go