search for: wfopen

Displaying 6 results from an estimated 6 matches for "wfopen".

Did you mean: fopen
2013 Mar 17
3
Patch to add Unicode filename support for win32 flac
...d it plibc-style: in compat.h: #if defined(_WIN32) #define FOPEN grabbag__fopen_utf8_wrapper #else #define FOPEN fopen #endif in grabbag: #if defined(_WIN32) <implement grabbag__fopen_utf8_wrapper, which has the same signature as fopen, but does utf8->utf16 conversion internally, then calls wfopen> #endif and replace "fopen" with "FOPEN" everywhere else. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRRdrIAAoJEOs4Jb6SI2CwL4YH/Ayixx9r3XitYI0j1FH+xQd3 lrhJ3I3Di1uE0/LES9/mL6...
2013 Mar 17
1
Patch to add Unicode filename support for win32 flac
..._utf8_wrapper > > #else > > #define FOPEN fopen > > #endif > > > > in grabbag: > > #if defined(_WIN32) > > <implement grabbag__fopen_utf8_wrapper, which has the same signature > > as fopen, but does utf8->utf16 conversion internally, then calls wfopen> > > #endif > > > > and replace "fopen" with "FOPEN" everywhere else. > > Don't do that, it leaks into the system headers and breaks mingw if > FLAC_USE_FOPEN_UTF8 is defined. > > Call the wrappers directly instead of using a macro. +1...
2013 Mar 18
1
Patch to add Unicode filename support for win32 flac
...efine FOPEN >> grabbag__fopen_utf8_wrapper #else #define FOPEN fopen #endif >> >> in grabbag: #if defined(_WIN32) <implement >> grabbag__fopen_utf8_wrapper, which has the same signature as >> fopen, but does utf8->utf16 conversion internally, then calls >> wfopen> #endif >> >> and replace "fopen" with "FOPEN" everywhere else. > > Don't do that, it leaks into the system headers How? compat.h is not a public header, it is only used internally in FLAC. And i don't think that system headers have defines for &qu...
2013 Mar 18
0
flac-dev Digest, Vol 100, Issue 42
...n_utf8_wrapper > > #else > > #define FOPEN fopen > > #endif > > > > in grabbag: > > #if defined(_WIN32) > > <implement grabbag__fopen_utf8_wrapper, which has the same signature > > as fopen, but does utf8->utf16 conversion internally, then calls wfopen> > > #endif > > > > and replace "fopen" with "FOPEN" everywhere else. > > Don't do that, it leaks into the system headers and breaks mingw if > FLAC_USE_FOPEN_UTF8 is defined. > > Call the wrappers directly instead of using a macro. > &...
2013 Mar 17
2
Patch to add Unicode filename support for win32 flac
JonY wrote: > On 3/17/2013 10:33, Janne Hyv?rinen wrote: > > Here's a patch that makes MSVC compiled flac.exe able to use wildcards > > and encode/decode files with Unicode characters in names. It may not be > > the prettiest code but it fulfills its primary purpose. > > I tried to alter FLAC code as little as possible. It replaces argv with > > utf-8 encoded
2007 Feb 16
0
Wine release 0.9.31
...ize_is and length_is are expression lists now. widl: Added support for iid_is conformance descriptors. widl: Use the correct type offset when freeing proxy variables. ntdll: Clear the DebugInfo field when a shared heap critical section is made global. msvcrt: Implement fopen/wfopen on top of fsopen/wfsopen instead of the other way around. widl: Only recognize attribute keywords inside an attribute list. widl: Add a string list type and use it for the endpoint attribute. widl: Output endpoint information in client and server files. widl: Rename parser s...