Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2008 06:02:02 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c
Message-ID:  <200802190602.m1J622Fe079227@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2008-02-19 06:02:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_iso9660.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802190602.m1J622Fe079227>