A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
simple type mistake, only reproduct on macOS (?)
'optarg' is a global variable, can be used directly,
but macOS choked on that ,
and I see all other functions passing a parameter instead the global variable,
so here just add a function parameter.
simple type mistake, only reproduct on macOS (?) 'optarg' is a global variable, can be used directly, but macOS choked on that , and I see all other functions passing a parameter instead the global variable, so here just add a function parameter.
Signed-off-by: yunh haihai107@126.com