.
On the man page "getattrlist"
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPag
es/10.5/man2/getattrlist.2.html?useVersion=10.5
is clearly written that the ATTR_CMN_CHGTIME flag is read/write, so I should
be able to set it. But I can't really. And setat
On Mar 21, 2010, at 6:01 PM, gMail.com wrote:
> Also, the man says that getattrlist and setattrlist don't work on all the
> volumes. So, how can I know whether I can call these APIs?
The man page for getattrlist says:
> The best way to test whether a volume supports this function is to simply
>
sb.st_ctime or with FSSetCatalogInfo and
kFSCatInfoAttrMod or with getattrlist and ATTR_CMN_CHGTIME
Regards
--
Leonardo
> Da: Ron Fleckner
> Data: Mon, 22 Mar 2010 10:20:44 +1100
> A: "gMail.com"
> Cc:
> Oggetto: Re: ATTR_CMN_CHGTIME
>
>
> On 22/03/2010, at 10:01 AM, g
On 22/03/2010, at 11:28 AM, James W. Walker wrote:
On Mar 21, 2010, at 4:20 PM, Ron Fleckner wrote:
On 22/03/2010, at 10:01 AM, gMail.com wrote:
Hi,
I cannot find a Cocoa API to set the "Attribute Modification Date"
of a
file. If there is a way, may you please let me know?
Thanks
--
n the meantime, on MacOS X 10.5.8, I have been trying to use setattrlist
>> with ATTR_CMN_CHGTIME, unsuccessfully. And setattrlist returns 0, as
>> everything went ok. While it is not ok. Even FSSetCatalogInfo with
>> kFSCatInfoAttrMod doesn't work. I get the current date/time I
On 22/03/2010, at 10:01 AM, gMail.com wrote:
Hi,
I cannot find a Cocoa API to set the "Attribute Modification Date"
of a
file. If there is a way, may you please let me know?
In the meantime, on MacOS X 10.5.8, I have been trying to use
setattrlist
with ATTR_CMN_CHGTIME, unsu
Hi,
I cannot find a Cocoa API to set the "Attribute Modification Date" of a
file. If there is a way, may you please let me know?
In the meantime, on MacOS X 10.5.8, I have been trying to use setattrlist
with ATTR_CMN_CHGTIME, unsuccessfully. And setattrlist returns 0, as
everythi