[Bug 27806] New: fopen() CRT functions should recognize the unicode encoding modifier in mode string (CCS=xxx)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 16 06:42:08 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27806

           Summary: fopen() CRT functions should recognize the unicode
                    encoding modifier in mode string (CCS=xxx)
           Product: Wine
           Version: 1.3.24
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: msvcrt
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

many MS installer use Unicode file streams to write their log files.
Bug 8598 is about general unicode support for CRT functions.

IE9 installer for example spams console due to fopen() not recognizing
",ccs=xxx" sequence in mode string.

--- snip ---
...
0032:Call msvcrt._wfopen_s(0033e5b0,0033ebd8
L"C:\\windows\\TEMP\\IE9b5d.tmp\\IE9-support\\NrPolicy.txt",01002190
L"rt,ccs=UNICODE") ret=0101549f
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag , not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag c not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag c not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag s not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag = not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag U not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag N not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag I not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag C not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag O not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag D not supported
0032:fixme:msvcrt:msvcrt_get_flags :unknown flag E not supported
0032:Call KERNEL32.CreateFileW(0033ebd8
L"C:\\windows\\TEMP\\IE9b5d.tmp\\IE9-support\\NrPolicy.txt",80000000,00000003,0033e3a0,00000003,00000080,00000000)
ret=736fd75e
0032:Ret  KERNEL32.CreateFileW() retval=00000098 ret=736fd75e
0032:Ret  msvcrt._wfopen_s() retval=00000000 ret=0101549f 
...
--- snip ---

MSDN: http://msdn.microsoft.com/en-us/library/yeby3zcb.aspx

Bug 8598 needs proper implementation first to really support this but in the
meantime the unsupported ",ccs=xxx" mode flags should be recognized and a FIXME
printed instead.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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