But meanwhile I can't
seem to get Pd to read preferences on a macintosh any more. This is the
first time I've tested using the new preferences interface for Mac, commit
cc64c629a (Nov 20 2019, so newer than Pd 0.50-2).
It looks like this line:
const char *s = CFStringGetCStringPtr((CFStringRef)v,
kCFStringEncodingUTF8);
is always returning null.
It seems that, in certain situations, CFStringGetCStringPtr returns NULL even if the string is valid:
I did not see that in my testing but it could be a different strings settings you are reading as compared to mine and/or slightly different behavior between OS versions.
I can look into this later tonight.