Re: Copy Folder Attributes of /dev

2010-04-01 Thread Jean-Daniel Dupas
Le 1 avr. 2010 à 19:54, gMail.com a écrit : > Hi, > I want to copy all the folder's attributes, so instead of using the Cocoa > API I have to use FSSetCatalogInfo. This requires an FSRef, so I use > FSPathMakeRef or FSPathMakeRefWithOptions, e.g. > > err = FSPathMakeRefWithOptions((UInt8*)cSrcPa

Copy Folder Attributes of /dev

2010-04-01 Thread gMail.com
Hi, I want to copy all the folder's attributes, so instead of using the Cocoa API I have to use FSSetCatalogInfo. This requires an FSRef, so I use FSPathMakeRef or FSPathMakeRefWithOptions, e.g. err = FSPathMakeRefWithOptions((UInt8*)cSrcPath, kFSPathMakeRefDoNotFollowLeafSymlink, &srcRef, NULL);