1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-23 16:01:43 +01:00
Clementine-audio-player-Mac.../ext
Ulrich Spörlein 6e2506e94a Fix Clementine on FreeBSD/NFS files, where birthtime is always -1
As of Qt 5.10 the badly named created() which would fall back to POSIX
ctime if birthtime wasn't supported (as was the case on basically every
Unix filesystem up to some decades ago) is deprecated and replaced by
the better named birthTime or metadataChangeTime (yay!).

As of some years now, created() returns birthtime under FreeBSD, but
either due to the protocol or lack of implementation, this returns -1
under FreeBSD mounting a ZFS pool from a FreeBSD server with NFSv3.

This would render Clementine completely useless. Local filesystems are
not affected though. The fix is to catch the -1 birthtime and use mtime
instead, which is a more meaningful value anyway.

This closes issue #6423.
2019-10-27 22:52:36 +01:00
..
clementine-spotifyblob Fix spotify blob detection on win32 2019-03-18 17:57:57 +00:00
clementine-tagreader Fixes for cross compiling for mac. 2016-12-15 11:36:05 +00:00
libclementine-common Fix crash in messagereply (#6372) 2019-07-20 18:52:37 +01:00
libclementine-remote Fix misc. source comment typos 2019-08-21 23:43:16 -04:00
libclementine-spotifyblob Add syntax to proto files 2019-01-27 14:56:07 +00:00
libclementine-tagreader Fix Clementine on FreeBSD/NFS files, where birthtime is always -1 2019-10-27 22:52:36 +01:00