search for: fsmakefsrefunicode

Displaying 2 results from an estimated 2 matches for "fsmakefsrefunicode".

2009 Jan 20
0
rsync 3.0.4 patches for 10.3
...gt; well. I copy the filename to a temporary string, do the substitution > and then pass the temp string to CFStringCreateWithCString(). I > think a better approach would be to scrap my changes and do the > substitution on the buffer returned by CFStringGetCharacters(), > before FSMakeFSRefUnicode is called. This would get rid of the new > memory allocation. > > But I am unsure how to do proper character substitution in a Unicode > string. > > -- > tim lindner > tlindner!watermarkpress.com > Hello Tim, You're welcome for the patch, glad it's still usef...
2009 Jan 21
3
Rsync with OS X 10.3
...0.5.tar.gz As you could see in the mail from the mail-list, this version have a bug with filenames containing slashes ("/"). They are converted to colons (":") in the filesystem and we need to reconvert them to slashes in order to pass them correctly as argument for the FSMakeFSRefUnicode function. As you can see, we are looking for the most efficient way to do it. If you want to be sure it works, modify /lib/sysxattrs.c including this code on fsreffrompath function: = if(verbose > 3) = fprintf(stderr, "name=%s\n",startOfName); + nameLength=strlen(startOfName);...