Created attachment 224772 [details] patch Multiple changes: - Add support O_PATH flag for open() - Use O_DIRECTORY for dir open - close() fd on kevent() fail for files - Fix possible memleak in kq_handle_rename(): 32kb per call - Move fstat() from kq_handle_rename() to readdir_start() - Do not try to monitor for: DT_FIFO, DT_SOCK, DT_WHT
ping
Could this very useful patch be committed, please? See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254024
(In reply to Emanuel Haupt from comment #2) +1. This patch singificantly reduce wasted time on file dialog of gtk3. Of course With OPTIONS_FILE_SET+=FAM_ALTBACKEND. Now gtk3 softwares can open file dialog almost as fast as gtk2 softwares. Thanks, Ivan!
Committed with https://cgit.FreeBSD.org/ports/commit/?id=943a699e47d7205726f1f77983fef0b5e6c82a56