Re: UFS can't handle creation date
Re: UFS can't handle creation date
- Subject: Re: UFS can't handle creation date
- From: Development <email@hidden>
- Date: Fri, 20 Sep 2002 16:11:52 +0200
Hi,
Am Freitag, 20.09.02 um 15:46 Uhr schrieb John Hvrnkvist:
On Friday, September 20, 2002, at 03:22 PM, Development wrote:
I'm trying to copy some files from a source path to a destination
path.
If the items to copy already exist at the destination path, I want to
verify the creation dates.
Something like this:
- (NSString*)fileSystemType:(NSString*)fileName
{
struct statfs fs_struct;
statfs([fileName fileSystemRepresentation], &fs_struct);
return [NSString stringWithCString:fs_struct.f_fstypename];
}
Thank you for the fast reply!
Allthough, this code crashes my ProjectBuilder... the struct statfs
seems to be the bad guy.
Do I have to include something extraordinary other then carbon, cocoa,
foundation, etc?
I'm using Mac OS X 10.2.1 and the JulyDeveloperTools with the
AugustUpdate, compiling with the new gcc 3.1.
any ideas...?
So long,
Dirk Stegemann
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.