• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileModificationDate after 2039
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileModificationDate after 2039


  • Subject: Re: NSFileModificationDate after 2039
  • From: Chris Ridd <email@hidden>
  • Date: Tue, 26 Apr 2005 19:48:16 +0100

On 26/4/05 6:22 pm, Gerriet M. Denkmann <email@hidden> wrote:

> Some further investigation showed:
>
> TN1150 says "The maximum representable date [of an HFS+ file] is
> February 6, 2040 at 06:28:15 GMT".
> But this cannot be true in a Posix compatible world.

I think you're making an assumption that time_t is 32 bits wide. On Panther
it seems to be defined as a long, and according to

    <http://developer.apple.com/macosx/tiger/64bit.html>

in LP64 mode on Tiger, long is 64 bits wide. So possibly (we'll find out on
Friday :-), time_t is 64 bits wide on Tiger and so can represent dates in
2040 (and then some.)

Cheers,

Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSFileModificationDate after 2039
      • From: Shawn Erickson <email@hidden>
References: 
 >Re: NSFileModificationDate after 2039 (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: How can a view know when its superview changes sizes?
  • Next by Date: Erratic behaviour in mouseDown: method of NSTableView
  • Previous by thread: Re: NSFileModificationDate after 2039
  • Next by thread: Re: NSFileModificationDate after 2039
  • Index(es):
    • Date
    • Thread