Menu

#83 Compile time errors under OpenBSD

resolved
closed-fixed
htdig (103)
5
2002-01-03
2001-11-13
Anonymous
No

Corrected with the following changes starting at Line 217 of Document.cc:

//#if HAVE_TIMEGM
// ret = timegm(&tm);
//#else
ret = mytimegm(&tm);
//#endif

Discussion

  • Gilles Detillieux

    • labels: --> htdig
    • milestone: --> 103281
    • status: open --> open-later
     
  • Gilles Detillieux

    Logged In: YES
    user_id=149687

    The other option would be to undefine HAVE_TIMEGM
    in include/htconfig.h. I'd be curious to know what the
    compile time errors actually were, and why, if OpenBSD
    has the timegm() function, can't htdig use it. It may be
    that we need a more sophisticated test for timegm() than
    simply testing if it's there in the library. BSD systems do
    seem to have a knack for thwarting many of ht://Dig's
    configure tests.

     
  • Gilles Detillieux

    Logged In: YES
    user_id=149687

    Version 3.1.6 now does away with timegm/mytimegm. We still
    need to do likewise with 3.2.0b4.

     
  • Gilles Detillieux

    • milestone: 103281 --> resolved
    • assigned_to: nobody --> grdetil
    • status: open-later --> closed-fixed
     

Log in to post a comment.