cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c

Tim Kientzle kientzle at
Mon Feb 18 22:02:02 PST 2008

kientzle    2008-02-19 06:02:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_iso9660.c 
  Someday I might forgive the standards bodies for omitting timegm().
  Maybe.  In the meantime, my workarounds for trying to coax UTC without
  timegm() are getting uglier and uglier.  Apparently, some systems
  don't support setenv()/unsetenv(), so you can't set the TZ env var and
  hope thereby to coax mktime() into generating UTC.  Without that, I
  don't see a really good alternative to just giving up and converting to
  localtime with mktime().  (I suppose I should research the Perl library
  approach for computing an inverse function to gmtime(); that might
  actually be simpler than this growing list of hacks.)
  Revision  Changes    Path
  1.25      +9 -5      src/lib/libarchive/archive_read_support_format_iso9660.c

More information about the cvs-src mailing list