[mythtv-commits] [MythTV/mythtv] 6c0b5c: libmythfreemheg: replace nonstandard <malloc.h> wi...

Scott Theisen noreply at github.com
Mon Sep 12 11:05:01 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: 6c0b5cc5c37507b9fb454a137092be5b61b4f137
      https://github.com/MythTV/mythtv/commit/6c0b5cc5c37507b9fb454a137092be5b61b4f137
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/BaseClasses.h
    M mythtv/libs/libmythfreemheg/ParseBinary.cpp
    M mythtv/libs/libmythfreemheg/ParseText.cpp
    M mythtv/libs/libmythfreemheg/ParseText.h

  Log Message:
  -----------
  libmythfreemheg: replace nonstandard <malloc.h> with <cstdlib>

(cherry picked from commit 30f8922d548cbedeac8f72692f0f0b22003af48f)


  Commit: 659a080e9a545114295cef8dc8ea34e4d9f1d8ee
      https://github.com/MythTV/mythtv/commit/659a080e9a545114295cef8dc8ea34e4d9f1d8ee
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/configure

  Log Message:
  -----------
  configure: remove unused malloc.h and memalign checks

(cherry picked from commit 47c6ed9d34dfaebb91e7f43cdb426586873dcf2b)


  Commit: 668f9409cef9f8de41331629264c6b7c8626ddb3
      https://github.com/MythTV/mythtv/commit/668f9409cef9f8de41331629264c6b7c8626ddb3
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/BaseClasses.h
    M mythtv/libs/libmythfreemheg/Programs.cpp

  Log Message:
  -----------
  libmythfreemheg/BaseClasses.h: remove unnecessary include "config.h"

Programs.cpp needed reordering of includes for HAVE_GETTIMEOFDAY (-Wundef)

(cherry picked from commit d5d9cf320c73ca10830d3209503a73795e6adb48)


  Commit: dfb1bc1fd309702b71dcbc5e8029c36b63d09294
      https://github.com/MythTV/mythtv/commit/dfb1bc1fd309702b71dcbc5e8029c36b63d09294
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/Programs.cpp

  Log Message:
  -----------
  libmythfreemheg/Programs.cpp: remove unnecessary includes

<sys/timeb.h> is unused
<sys/time.h> is unconditionally included by mythchrono.h but not used directly

<ctime> is used unconditionally

(cherry picked from commit adda7f2401107421c9832b954ab4ff49277cbba9)


  Commit: b135b27364812ef1bbc65baa3712abd55cc04882
      https://github.com/MythTV/mythtv/commit/b135b27364812ef1bbc65baa3712abd55cc04882
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/Programs.cpp

  Log Message:
  -----------
  libmythfreemheg/Programs.cpp: remove more unnecessary headers

no symbols are used from either (myth)config.h or compat.h

(cherry picked from commit 2b2f27471b6d2e19b680015e1d99e605faf896db)


  Commit: b6ef30288fd81d93d2c3ad34ac9adb61c257aebb
      https://github.com/MythTV/mythtv/commit/b6ef30288fd81d93d2c3ad34ac9adb61c257aebb
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/Programs.cpp

  Log Message:
  -----------
  libmythfreemheg/Programs.cpp: finish conversion to QDateTime

<ctime> and "mythchrono.h" are no longer needed

The QDateTime conversion in FormatDate was incorrect. fromMSecsSinceEpoch instead of fromSecsSinceEpoch

However, no one must use FormatDate since that error is from 0d195a9c6598f8b7d3a3e46a129ce03a1ffbaf09 on 2020-07-02.

(cherry picked from commit b987f5bbaff2d820bd1967348a5abb98bcb82dd2)


Compare: https://github.com/MythTV/mythtv/compare/e5c974e40248...b6ef30288fd8


More information about the mythtv-commits mailing list