search for: set_file_stats_

Displaying 8 results from an estimated 8 matches for "set_file_stats_".

2016 Jan 09
0
Lets do a 1.3.2 release
...(metadata_iterators.release.o): In function `simple_iterator_prime_input_': flac/src/libFLAC/metadata_iterators.c:427: undefined reference to `fopen_utf8' flac/src/libFLAC/metadata_iterators.c:424: undefined reference to `fopen_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' flac/src/libFLAC/metadata_iterators.c:3355: undefined reference to `chmod_utf8' flac/src/libFLAC/metadata_iterators.c:335...
2016 Jan 09
3
Lets do a 1.3.2 release
lvqcl 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
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
...W32__ #define FLAC__STRCASECMP stricmp #else #define FLAC__STRCASECMP strcasecmp diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c index e9d5275..32e8ed3 100644 --- a/src/libFLAC/metadata_iterators.c +++ b/src/libFLAC/metadata_iterators.c @@ -3312,7 +3312,7 @@ void set_file_stats_(const char *filename, struct stat *stats) srctime.modtime = stats->st_mtime; (void)chmod(filename, stats->st_mode); (void)utime(filename, &srctime); -#if !defined _MSC_VER && !defined __BORLANDC__ && !defined __MINGW32__ && !defined __EMX__ +#if !defined _MSC...
2013 Mar 04
0
flac 1.3.0pre1 prelease
...switches for ../configure and both "--enable-static" as well as "--disable-shared --enable-static" fails for me on Kubuntu 12.04 64-bit with the following error > [...] > CC memory.lo > CC metadata_iterators.lo > metadata_iterators.c: In function 'set_file_stats_': > metadata_iterators.c:3298:2: warning: ignoring return value of > 'chown', declared with attribute warn_unused_result [-Wunused-result] > metadata_iterators.c:3299:2: warning: ignoring return value of > 'chown', declared with attribute warn_unused_result [-Wunus...
2016 Jan 18
1
About the commit "Fix compiler warnings from new compiler flags."
https://git.xiph.org/?p=flac.git;a=commit;h=91790ef965553fd6d76e1f51b55dc4de3b54ad4b It (among other things) changes (void)chown(...) into FLAC_CHECK_RETURN(chown(...)). I don't know what warning "(void)chown(...);" raises, and I cannot test it because I don't have Linux, but FLAC_CHECK_RETURN calls printf, and IMHO the library function shouldn't do it. So it makes sense to
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
...diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c index 352a6c7a..d5255eb9 100644 --- a/src/libFLAC/metadata_iterators.c +++ b/src/libFLAC/metadata_iterators.c @@ -3422,13 +3422,18 @@ FLAC__bool get_file_stats_(const char *filename, struct flac_stat_s *stats) void set_file_stats_(const char *filename, struct flac_stat_s *stats) { - struct utimbuf srctime; - FLAC__ASSERT(0 != filename); FLAC__ASSERT(0 != stats); +#if _POSIX_C_SOURCE >= 200809L + struct timespec srctime[2] = {}; + srctime[0].tv_sec = stats->st_atime; + srctime[1].tv_sec = stats->st_mtime; +#el...
2007 Jul 14
2
PATCH : Fix missing protoypes
...include "test_libs_common/metadata_utils.h" +#include "metadata.h" /****************************************************************************** @@ -184,6 +185,7 @@ * This wad of functions supports filename- and callback-based chain reading/writing. * Everything up to set_file_stats_() is copied from libFLAC/metadata_iterators.c */ +static FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfilename) { static const char *tempfile_suffix = ".metadata_edit"; @@ -199,6 +201,7 @@ return true; } +static void cleanup_tempfile_(FILE **temp...
2013 Mar 02
8
flac 1.3.0pre1 prelease
Hi all, I finally managed to bite the bullet and roll a pre-release. Its here: http://downloads.xiph.org/releases/flac/beta/ I have personally tested this code on: x86-linux x86_64-linux powerpc-linux I have not yet done any work on making sure the changelog is up-to-date. That will be done between now and the release. What I'm after now is testing of this source tarball