search for: d5255eb9

Displaying 1 result from an estimated 1 matches for "d5255eb9".

2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
...flac_rename rename #define flac_stat stat +#if _POSIX_C_SOURCE >= 200809L +#define flac_utime(a, b) utimensat (AT_FDCWD, a, *b, 0) +#else +#define flac_utime utime +#endif #endif #ifdef _WIN32 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__AS...