Displaying 2 results from an estimated 2 matches for "unicharname".
2009 Jan 21
3
Rsync with OS X 10.3
Hi Jason,
Here's rsync10.3xattr_supportv0.6.diff.
You can find fileflags.diff and crtimes.diff (that are not from me,
but I strongly recommend you to install) here: http://samba.anu.edu.au/ftp/rsync/src/rsync-patches-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
2009 Jan 20
0
rsync 3.0.4 patches for 10.3
..., but we would need anyway. We can't
replace chars on CFStrings, we would need to pass by a CFMutableString
(need another buffer). Or we would need to manipulate the Unicode
string at the end, but I'm not sure how to do it. You could try:
+ CFStringGetCharacters(cfStringName, range, unicharName);
while(index<range.length)
{
if(unicharName[index]==0x003B) /* == ':' */
unicharName[index]='0x002F'; /* == '/' */
index++;
}
+ carbon_error=FSMakeFSRefUnicode(&parentRef, range.length,
unicharName, kTextEncodingUnknown, ref);
With only unsigned int ind...