Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> Bennett> After playing around a bit, I get the following errors, which
> Bennett> I don't know enough to make sense of.

> The code was really bogus. Try this one instead.

This one will also fail to compile but I guess you know that now ;-)

Leaving that to one side, however, I note that you're not testing that the call
to FSPathMakeRef succeeded and you're testing only for a specific
kLSApplicationNotFoundErr error elsewhere. I wonder if you'd not be better off
bailing on any error at all. Would

        if (status != 0)
                return false;

not do the job?

Angus


Reply via email to