[Bug 47615] New: _putws outputs NULs, other wchar.h functions don't

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 13 20:54:07 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47615

            Bug ID: 47615
           Summary: _putws outputs NULs, other wchar.h functions don't
           Product: Wine
           Version: 3.0
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: msvcrt
          Assignee: wine-bugs at winehq.org
          Reporter: dmo2118 at gmail.com
      Distribution: ---

Created attachment 65041
  --> https://bugs.winehq.org/attachment.cgi?id=65041
Test program

This seems inconsistent:

$ i686-w64-mingw32-gcc -Wall -municode -mconsole putws-test.c
$ wine a.exe | hexdump -C
00000000  70 00 75 00 74 00 77 00  73 00 0d 0a 00 66 70 75  |p.u.t.w.s....fpu|
00000010  74 77 73 0d 0a 77 70 72  69 6e 74 66 0d 0a 77 66  |tws..wprintf..wf|
00000020  70 72 69 6e 74 66 0d 0a  63 0d 0a                 |printf..c..|
0000002b

Expected behavior: "putws" outputs as 70 75 74 77 73, without the 00s in
between.


I concede I am not running up-to-date development Wine. I'm having trouble
installing it, and I don't know how long that would take to fix. Given the
source code I've looked at, I have reason to believe that this still affects
current Wine.

$ wine --version
wine-3.0 (Ubuntu 3.0-1ubuntu1)
$ lsb_release -d
Description:    Ubuntu 18.04.3 LTS

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list