Re: possible bug with getattrlist() and GetFileInfo
Re: possible bug with getattrlist() and GetFileInfo
- Subject: Re: possible bug with getattrlist() and GetFileInfo
- From: rohan a <email@hidden>
- Date: Sat, 30 May 2009 11:42:48 +0530
I am using the HFS+ file-system with Mac OS X 10.4.
On Sat, May 30, 2009 at 11:29 AM, Joar Wingfors
<email@hidden> wrote:
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