Tuesday, September 13, 2005

PATH_MAX Blackholing

Jonathan Rentzsch:

Well, you don’t have to use the tofu file system APIs. You can use Carbon’s granite FSRef-based APIs, which offers high-fidelity file system entity routines. They’re not path-based, and thus don’t suffer from the inherent flaws of path strings.

But! Hilarity ensues when you mix the competent FSRef APIs and the tofu path APIs: it’s possible to “blackhole” a file.

Comments RSS · Twitter

Leave a Comment