NSFileManager's copyItemAtPath:toPath:error: syslogging every directory it finds?

2009-06-01 Thread Jim Turner
Hopefully this has a simple answer but it seems now that when I call
copyItemAtPath:toPath:error: to copy a folder to another location, I
get this in the console:

6/1/09 3:48:28 PM
/Users/jimt/Source/MyApp/trunk/build/Debug/MyApp.app/Contents/MacOS/MyApp[29625]
reading from /Users/jimt/Library/MyApp/MyFolder: Is a directory

I had to break on syslog() to see who was even causing this to happen.
 I'm not sure what's changed or if I've set some magic flag someplace
that's finding its way into the internals of
copyItemAtPath:toPath:error: but does anyone know why I'd be getting
that logged? Very confusing.

-- 
Jim
http://nukethemfromorbit.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: NSFileManager's copyItemAtPath:toPath:error: syslogging every directory it finds?

2009-06-01 Thread Chris Parker


On 1 Jun 2009, at 1:54 PM, Jim Turner wrote:


Hopefully this has a simple answer but it seems now that when I call
copyItemAtPath:toPath:error: to copy a folder to another location, I
get this in the console:

6/1/09 3:48:28 PM
/Users/jimt/Source/MyApp/trunk/build/Debug/MyApp.app/Contents/MacOS/ 
MyApp[29625]

reading from /Users/jimt/Library/MyApp/MyFolder: Is a directory

I had to break on syslog() to see who was even causing this to happen.
I'm not sure what's changed or if I've set some magic flag someplace
that's finding its way into the internals of
copyItemAtPath:toPath:error: but does anyone know why I'd be getting
that logged? Very confusing.


This is a known bug and has been fixed in a future release of the  
operating system.


.chris

--
Chris Parker
Apple Inc.

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com