[darwinbuild-dev] Dot plugin - dumps all loaded plists
mvfranz at gmail.com
Fri Jan 18 15:30:22 PST 2008
This is a much cleaner implementation. Mine was way too complicated.
On Jan 18, 2008 5:44 PM, William Siegrist <wsiegrist at apple.com> wrote:
> The call to DBCopyBuildInheritance actually packages up that array of
> builds by iterating over the inherits property, which you then go back
> and break apart to print the file format. So that API call is wasted
> effort. I wrote a shorter piece of code which goes directly to
> DBCopyOnePropString(). I believe its functionally equivalent to your
> submission, but a little simpler code-wise. However, there's probably
> a cleaner way to separate out the actual dot-format text (and the
> printing there of). And I might be missing some cases, so please test
> and let me know.
I wonder if the you should call CFRelease on the non-null parent since it is
obtained by calling DBCopyOnePropString ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darwinbuild-dev