• 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: possible bug with getattrlist() and GetFileInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >possible bug with getattrlist() and GetFileInfo (From: rohan a <email@hidden>)
 >Re: possible bug with getattrlist() and GetFileInfo (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: possible bug with getattrlist() and GetFileInfo
  • Next by Date: Re: possible bug with getattrlist() and GetFileInfo
  • Previous by thread: Re: possible bug with getattrlist() and GetFileInfo
  • Next by thread: Re: possible bug with getattrlist() and GetFileInfo
  • Index(es):
    • Date
    • Thread