Ticket #154 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Bug in sm/mod_iq_time.c

Reported by: mm Owned by: smoku
Priority: major Component: sm
Version: 2.1.16 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

sm/mod_iq_time.c requires HAVE_TZSET defined on line 81 and may not work on many platforms (e.g. FreeBSD) Please see the attached patch for a solution using tm->tm_gmtoff (this patch may not be 100% ok, it just shows the approach). Linux glibc has the tm_gmtoff structure, too.

Attachments

sm-mod_iq_time.diff (0.7 KB) - added by mm 14 months ago.
Patch proposal for sm/mod_iq_time.c

Change History

Changed 14 months ago by mm

Patch proposal for sm/mod_iq_time.c

Changed 14 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

Fixed in [411]

Note: See TracTickets for help on using tickets.