Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 00:46:51 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/cddl/compat/opensolaris/sys time.h
Message-ID:  <201002250047.o1P0lCFC069359@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2010-02-25 00:46:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/cddl/compat/opensolaris/sys time.h 
  Log:
  SVN rev 204295 on 2010-02-25 00:46:51Z by delphij
  
  MFC r202964:
  
  On FreeBSD, time_t is 64-bit for all platforms except i386 and powerpc,
  where the type is 32-bit.  ZFS can handle 64-bit timestamp internally
  but zfs_setattr() would check if the time value can fit, we change the
  checking macros to match 64-bit timestamp if the platform supports it.
  
  This change has some downsides like, while you can import zfs on 32-bit
  platforms, the timestamp would overflow if they are out of the range.
  
  This fixes the Y2.038K issue on platforms using 64-bit timestamps.
  
  Reviewed by:    pjd
  
  Revision  Changes    Path
  1.4.2.2   +5 -0      src/sys/cddl/compat/opensolaris/sys/time.h



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