[PATCH] cmd: Properly handle multibyte characters in batch files. (try 2)

Akihiro Sagawa sagawa.aki at gmail.com
Fri Oct 19 11:02:24 CDT 2012


To avoid round-trip issue, call ReadFile in WCMD_fgets and search a
new-line character, then convert into WCHAR.

---
 programs/cmd/batch.c |   54 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 16 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmd-Properly-handle-multibyte-characters-in-batch-fi.patch
Type: text/x-patch
Size: 2422 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121020/6a51bb18/attachment.bin>


More information about the wine-patches mailing list