On Tue, 2007-11-06 at 19:59, Benjamin Reed wrote:
> I was told it was deprecated by one of the Xar developers.
Ah. A quick google search reveals nothing from Apple (thanks) but lots
of people complaining about /rsrc being deprecated.
If you look at /var/log/system.log you will see messages like:
Nov 6 15:27:59 george-williams-powerbook-g4-12 kernel[0]: foo.c/rsrc
file access by /rsrc was deprecated in 10.4
On the other hand there seems to be another mechanism to get at it from
POSIX
strcat(filename,"/..namedfork/rsrc")
(using this does not cause a warning message to appear in my 10.5 system
log). Said to work back to 10.3.
However, there are warnings that ..namedfork doesn't work on all file
systems.
So my solution will be:
First try to append "/.....namedfork/rsrc"
If that fails try "/rsrc"
Thanks for the heads up. Perhaps I should read /var/log/system.log more
often!
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype