Unix -> Cocoa question
Unix -> Cocoa question
- Subject: Unix -> Cocoa question
- From: Alec Carlson <email@hidden>
- Date: Tue, 06 May 2003 17:06:16 -0500
Not sure where to post this but if not in this list then just let me know
where...
I inherited some unix code which I'm porting to OS X. That code makes some
unix file system calls - specifically fstat() and stat(). These calls work
correctly in all cases except where the target file is an OS X application
bundle. In that case, both stat calls fail with a ENOENT - "No such file or
directory" error. Since application bundles are special types of
directories, I'm assuming there is a problem with these unix functions and
these OS X specific file types. References to normal unix directories work
fine. I could add Carbon routines or wrap some Cocoa objects (NSFilemanager)
- but I'd rather not. Is there another alternative ?
Thanks -
Alec Carlson
-----------------------------------------------------------------------
Time is Short and the Water Rises
-----------------------------------------------------------------------
_______________________________________________
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.