isFilePackageAtPath:@"/dev" error
isFilePackageAtPath:@"/dev" error
- Subject: isFilePackageAtPath:@"/dev" error
- From: Lorenzo Puleo <email@hidden>
- Date: Wed, 26 Jun 2002 00:41:19 +0200
Hi,
every time I use the API on the @"/dev" folder
[[NSWorkspace sharedWorkspace] isFilePackageAtPath:@"/dev"];
I get this error on the console.log (or in PB Tool Tab)
MyApp[2173] LSCopyItemInfoForURL() returned 2767760 for path (null).
I know that is a Carbon API, but I don't understand what it's doing here.
At least, it should be LSCopyItemInfoForRef... I suppose.
The folder @"/dev" is a MacOS X hidden folder placed on the root of the boot
disk. And the path is not null, I verified with the API
[[NSFileManager defaultManager] fileExistsAtPath:@"/dev"];
and that item exists. I know that's a folder and not a filePackage, but I'm
iterating through the disk root, so I have to check this "on the fly".
My application doesn't quit, and it continues to work well the same.
What is that error? How could I fix that?
Please, may someone let me understand?
Thank you.
I use PB 1.1.1 and MacOS X 10.1.5.
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.