1. 10 Mar, 2014 2 commits
    • Anton Khirnov's avatar
      Work around broken floating point limits on some systems. · e854b8f9
      Anton Khirnov authored
      The values of {FLT,DBL}_{MAX,MIN} macros on some systems (older musl
      libc, some BSD flavours) are not exactly representable, i.e.
      (double)DBL_MAX == DBL_MAX is false
      This violates (at least some interpretations of) the C99 standard and
      breaks code (e.g. in vf_fps) like
      double f = DBL_MAX;
      [...]
      if (f == DBL_MAX) { // f has not been changed yet
          [....]
      }
      e854b8f9
    • Martin Storsjö's avatar
      mxfdec: Validate parameters to strftime · 8cafeb8b
      Martin Storsjö authored
      The MSVCRT version of strftime calls the invalid parameter handler
      if the struct values in struct tm are invalid. In case no invalid
      parameter handler is set for the process, the process is aborted.
      
      This fixes fate failures on MSVC builds since 570af382.
      
      Based on a patch by Hendrik Leppkes.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      8cafeb8b
  2. 09 Mar, 2014 21 commits
  3. 08 Mar, 2014 12 commits
  4. 07 Mar, 2014 5 commits