Displaying 1 result from an estimated 1 matches for "cfmutablestr".
2009 Jan 20
0
rsync 3.0.4 patches for 10.3
...me,
kCFStringEncodingUTF8);
+ if(cfStringName==NULL)
Putting this initialisation:
+ char parentPath[MAXPATHLEN+1], name[MAXNAMLEN+1];
unsigned int index=0, nameLength;
It will need another buffer, 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) /* == ':' */
unicha...