Re: NSFileModificationDate after 2039
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