search for: stat_utf8

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

2013 Mar 19
2
Patch to add Unicode filename support for win32 flac
On 18.3.2013 12:25, Erik de Castro Lopo wrote: > JonY wrote: > >> Before anyone does anything, see __wgetmainargs >> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>. >> >> It can expand wildcards. Since it already provides argc/argv/env, it is >> more a less a drop-in replacement for the main() arguments. > +1 > > Erik Alright, here's
2013 Mar 19
3
Patch to add Unicode filename support for win32 flac
...unicode version msvcurt.lib causes this error: Error 1 error LNK2005: ___iob_func already defined in msvcurt.lib(MSVCR110.dll) G:\test\LIBCMT.lib(_file.obj) test Error 2 error LNK1169: one or more multiply defined symbols found G:\test\Release\test.exe test > > In stat_utf8, dealing with 32bit/64bit time_t? The following check > should really compile time rather than runtime: > sizeof(*buffer) == sizeof(st) Entire stat_utf8 function can be removed. The code was changed later to always use stat64 one. Though I'd assume compiler to optimize sizeof checks ap...
2016 Jan 09
1
[PATCH] minor fix for win_utf8_io.c
I noticed that share/win_utf8_io.h includes windows.h anyway, so another include in win_utf8_io.c is unnecessary. Also, the comment there is incorrect. -------------- next part -------------- A non-text attachment was scrubbed... Name: win_utf8_io.patch Type: application/octet-stream Size: 423 bytes Desc: not available Url :
2013 Mar 19
0
Patch to add Unicode filename support for win32 flac
...***, wchar_t***, int, int*); ============================================= This should simplify the error handling logic and help against LoadLibrary handle leaks, though the leak should not be an issue in practice since it is only called once. The symbol should also be present in MSVCR* DLLs. In stat_utf8, dealing with 32bit/64bit time_t? The following check should really compile time rather than runtime: sizeof(*buffer) == sizeof(st) That's all for now, I have not actually tested with mingw yet. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc...
2013 Apr 01
1
flac 1.3.0pre3 pre-release
...stat _fstat64 #else #define flac_stat_s stat /* stat struct */ --- flac-1.3.0pre3/include/share/win_utf8_io.h.orig 2013-04-01 16:32:02 +0400 +++ flac-1.3.0pre3/include/share/win_utf8_io.h 2013-04-01 16:39:09 +0400 @@ -20,7 +20,7 @@ FILE *fopen_utf8(const char *filename, const char *mode); int stat_utf8(const char *path, struct stat *buffer); -int _stat64_utf8(const char *path, struct _stat64 *buffer); +int _stat64_utf8(const char *path, struct __stat64 *buffer); int chmod_utf8(const char *filename, int pmode); int utime_utf8(const char *filename, struct utimbuf *times); int unlink_utf8(const c...
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all, The latest pre-release is here: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz but there will probably need to be at least one more. I've tested this on x86_64-linux powerpc-linux i386-openbsd5.2 i386-freebsd9 The majority of changes since the last pre-release is the addition of Janne Hyv?rinen's utf8 I/O functionality. Janne's