[mythtv-commits] [MythTV/mythtv] 7c7153: Always use 64 bit off_t and lseek()
Scott Theisen
noreply at github.com
Thu Dec 4 05:15:57 UTC 2025
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 7c715333484d346c5996b59b270b9b7e04e34231
https://github.com/MythTV/mythtv/commit/7c715333484d346c5996b59b270b9b7e04e34231
Author: Scott Theisen <scott.the.elm at gmail.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M cmake/SetCompilerOptions.cmake
M mythtv/libs/libmythbase/compat.h
M mythtv/libs/libmythbase/mythmiscutil.cpp
M mythtv/libs/libmythbase/remotefile.cpp
M mythtv/libs/libmythtv/io/mythfilebuffer.cpp
M mythtv/libs/libmythtv/io/mythiowrapper.cpp
M mythtv/libs/libmythtv/io/mythiowrapper.h
M mythtv/libs/libmythtv/io/mythmediabuffer.cpp
Log Message:
-----------
Always use 64 bit off_t and lseek()
mythtv/configure.sh already defines _FILE_OFFSET_BITS=64 for C and C++
at lines 4029-4032.
mythplugins/settings.pro already adds the define at line 53.
This should allow compiling with musl libc, which doesn't have lseek64()
by default.
MinGW honors the _FILE_OFFSET_BITS macro, so only MSVC needs
the replacements. See
https://github.com/mingw-w64/mingw-w64/commit/eeee1d0ce632da62fb2451c4c988f34d9f1ef7a6
Commit: d754d2f4fe7d4947da57f10c0bbe9a64cd8dda76
https://github.com/MythTV/mythtv/commit/d754d2f4fe7d4947da57f10c0bbe9a64cd8dda76
Author: Scott Theisen <scott.the.elm at gmail.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M mythtv/libs/libmythbase/mythmiscutil.cpp
Log Message:
-----------
libmythbase/mythmiscutil.cpp: Remove unnecessary includes
All targets already include <sys/stat.h> so make it unconditional.
statfs is not used in this file so neither <sys/vfs.h> nor
<sys/mount.h> are needed.
sysctl() is also available on at least OpenBSD, so use
Q_OS_BSD4 to enable that code for all BSD 4.4 OSes.
Compare: https://github.com/MythTV/mythtv/compare/42a52687e62c...d754d2f4fe7d
To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications
More information about the mythtv-commits
mailing list