Displaying 11 results from an estimated 11 matches for "_stat64_utf8".
2013 Apr 01
1
flac 1.3.0pre3 pre-release
...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 char *filename);
--- flac-1.3.0pre3/src/share/win_utf8_io/w...
2016 Jan 09
0
Lets do a 1.3.2 release
...ta_iterators.release.o): In function
`simple_iterator_prime_input_':
flac/src/libFLAC/metadata_iterators.c:427: undefined reference to `fopen_utf8'
libFLAC.a(metadata_iterators.release.o): In function `get_file_stats_':
flac/src/libFLAC/metadata_iterators.c:3343: undefined reference to
`_stat64_utf8'
libFLAC.a(metadata_iterators.release.o): In function `set_file_stats_':
flac/src/libFLAC/metadata_iterators.c:3355: undefined reference to `chmod_utf8'
flac/src/libFLAC/metadata_iterators.c:3356: undefined reference to `utime_utf8'
libFLAC.a(metadata_iterators.release.o): In functi...
2016 Jan 09
3
Lets do a 1.3.2 release
...erators.obj : error LNK2001: unresolved external symbol unlink_utf8
metadata_iterators.obj : error LNK2001: unresolved external symbol fopen_utf8
metadata_iterators.obj : error LNK2001: unresolved external symbol utime_utf8
metadata_iterators.obj : error LNK2001: unresolved external symbol _stat64_utf8
metadata_iterators.obj : error LNK2001: unresolved external symbol chmod_utf8
metadata_iterators.obj : error LNK2001: unresolved external symbol rename_utf8
So currently libFLAC on _WIN32 does depend on win_utf8_io.
BTW, share/compat.h includes share/win_utf8_io.h (if _WIN32 is defined),
a...
2014 Apr 09
1
[PATCH] for include/share/compat.h
This file has the following code:
#ifdef _WIN32
/* All char* strings are in UTF-8 format. Added to support Unicode files on Windows */
[...]
#define flac_stat _stat64_utf8
#else
[...]
#ifdef _WIN32
#define flac_stat _stat64
#else
#define flac_stat stat
#endif
#endif
The second "#ifdef _WIN32" doesn't make much sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac_stat.patch
Type: application/octet-stream
S...
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 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
2013 Mar 19
0
Patch to add Unicode filename support for win32 flac
...busy.
>
Should the following
#if defined _MSC_VER || defined __MINGW32__
be simplified to
#ifdef WIN32
? Alternatively _WIN32. Since it's win32 and not something compiler
specific.
As for the macros:
+#define flac_vfprintf vfprintf_utf8
+#define flac_fopen fopen_utf8
+#define flac_stat _stat64_utf8
...
I leave this up for Erik to decide, though I would have preferred not
using rename macros at all.
Not sure if these were intended:
+#include <sys/stat.h> /* for flac_stat() */
+#include <sys/utime.h> /* for flac_utime() */
+#include <io.h> /* for flac_chmod() */
As for call...
2016 Jan 09
2
Lets do a 1.3.2 release
Janne Hyv?rinen wrote:
> Win_utf8 stuff should not be included in libflac since it's only to be
> used by the flac.exe frontend. It is not needed by other programs nor
> would they benefit from it without doing the extra work of converting
> their ansi filenames and functions to utf-8.
>
>> Version 2 of my patch attached, which fixes the problem for the
>>
2016 Jan 08
8
Lets do a 1.3.2 release
HI all,
I think its time for a new release. The current code base is stable
and I've been building it for x86_64/linux, powerpc/linux, armhf/linux,
x86_64/darwin in a Jenkins build bot. I'm pretty sure others have been
building regularly on their platforms of interest.
I made a first pass on an update to the changelog.html. I' also putting
toether a release checklist that I will add
2013 Mar 19
3
Patch to add Unicode filename support for win32 flac
...simplified to
> #ifdef WIN32
>
> ? Alternatively _WIN32. Since it's win32 and not something compiler
> specific.
Indeed. Not sure what I was thinking.
>
> As for the macros:
> +#define flac_vfprintf vfprintf_utf8
> +#define flac_fopen fopen_utf8
> +#define flac_stat _stat64_utf8
> ...
>
> I leave this up for Erik to decide, though I would have preferred not
> using rename macros at all.
I think this is the sanest way. Only few #ifdefs instead of wrapper
functions filled with them that do essentially nothing on *nix.
>
> Not sure if these were intended:...
2016 Feb 08
2
Compilation failure using mingw-w64 and gcc-5.3.0
...-DDLL_EXPORT -DPIC -o .libs/bitmath.o
In file included from ../../include/share/compat.h:150:0,
from ./include/private/bitmath.h:39,
from bitmath.c:37:
../../include/share/win_utf8_io.h:54:43: warning: 'struct __stat64'
declared inside parameter list
int _stat64_utf8(const char *path, struct __stat64 *buffer);
^
../../include/share/win_utf8_io.h:54:43: warning: its scope is only this
definition or declaration, which is probably not what you want
../../include/share/win_utf8_io.h:59:1: error: unknown type name 'HAND...