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

Scott Theisen noreply at github.com
Wed Jun 29 13:44:02 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 30f8922d548cbedeac8f72692f0f0b22003af48f
      https://github.com/MythTV/mythtv/commit/30f8922d548cbedeac8f72692f0f0b22003af48f
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 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>


  Commit: 47c6ed9d34dfaebb91e7f43cdb426586873dcf2b
      https://github.com/MythTV/mythtv/commit/47c6ed9d34dfaebb91e7f43cdb426586873dcf2b
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M mythtv/configure

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


  Commit: d5d9cf320c73ca10830d3209503a73795e6adb48
      https://github.com/MythTV/mythtv/commit/d5d9cf320c73ca10830d3209503a73795e6adb48
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 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)


  Commit: adda7f2401107421c9832b954ab4ff49277cbba9
      https://github.com/MythTV/mythtv/commit/adda7f2401107421c9832b954ab4ff49277cbba9
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 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


  Commit: 2b2f27471b6d2e19b680015e1d99e605faf896db
      https://github.com/MythTV/mythtv/commit/2b2f27471b6d2e19b680015e1d99e605faf896db
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 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


  Commit: b987f5bbaff2d820bd1967348a5abb98bcb82dd2
      https://github.com/MythTV/mythtv/commit/b987f5bbaff2d820bd1967348a5abb98bcb82dd2
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-06-29 (Wed, 29 Jun 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.


Compare: https://github.com/MythTV/mythtv/compare/2ecdd5d6d605...b987f5bbaff2


More information about the mythtv-commits mailing list