Re: possible bug with getattrlist() and GetFileInfo
Re: possible bug with getattrlist() and GetFileInfo
- Subject: Re: possible bug with getattrlist() and GetFileInfo
- From: Joar Wingfors <email@hidden>
- Date: Fri, 29 May 2009 22:59:28 -0700
On 29 maj 2009, at 22.30, rohan a wrote:
The getattrlist() API and the GetFileInfo command seem to be showing
the modification time of a file when asked for the creation time.
What type of file system is your "example" file on? HFS supports the
modification time stamp, but that's not true for all file systems. It
seems to work as expected when I try this on Mac OS X 10.5.7 and HFS+:
$ cd /tmp
$ touch test
$ /Developer/Tools/GetFileInfo ./test file: "/private/tmp/test"
type: ""
creator: ""
attributes: avbstclinmedz
created: 05/29/2009 22:56:49
modified: 05/29/2009 22:56:49
$ touch test
$ /Developer/Tools/GetFileInfo ./test
file: "/private/tmp/test"
type: ""
creator: ""
attributes: avbstclinmedz
created: 05/29/2009 22:56:49
modified: 05/29/2009 22:57:05
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden