bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File creation date = file modification date


From: Pascal J . Bourguignon
Subject: File creation date = file modification date
Date: Wed, 10 Mar 2004 18:51:05 +0100

Stefan Urbanek writes:
> Hi,
> 
> I am getting same date of creation and modification for each file. Example:
> 
> StepTalk > fm := NSFileManager  defaultManager
> StepTalk > fm fileAttributesAtPath: '/home/me' traverseLink: NO
> ...
> NSFileCreationDate : 2004-03-06 11:01:39 +0100
> ...
> NSFileModificationDate : 2004-03-06 11:01:39 +0100
> ...
> 
> I'm using current GNUstep CVS + debian  libc 2.3.2.ds1-11.

No. The  question is what file  system you're using.   
On classic unix file system, there is no creation date (check stat(2)).
On Mac HFS+, creation date is recorded by the system.

I'd have  to check  the specification of  OpenStep, but it  would have
been better if they allowed a <I don't know> attribute value.

-- 
__Pascal_Bourguignon__                     http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he doesn't
want merely because you think it would be good for him.--Robert Heinlein
http://www.theadvocates.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]