search for: carbon_error

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

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
...de 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 index=0; as new initialization. 0x003B corresponds of the hexa code of : in unichar (UTF-16) and 0x002F corresponds to /. With some luck it will work. I can't test as I haven...