Re: [PATCH v2] fsmonitor: eliminate call to deprecated FSEventStream function
"Jeff Hostetler via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 11 quoted lines
> From: Jeff Hostetler <jeffhostetler@github.com>
>
> Replace the call to `FSEventStreamScheduleWithRunLoop()` function with
> the suggested `FSEventStreamSetDispatchQueue()` function.
>
> The MacOS version of the builtin FSMonitor feature uses the
> `FSEventStreamScheduleWithRunLoop()` function to drive the event loop
> and process FSEvents from the system. This routine has now been
> deprecated by Apple. The MacOS 13 (Ventura) compiler tool chain now
> generates a warning when compiling calls to this function. In
> DEVELOPER=1 mode, this now causes a compile error.