[Bug 214338] [PATCH] devel/glib20: new kqueue() backend for file monitoring

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 8 23:59:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214338

rozhuk.im at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #202935|0                           |1
        is obsolete|                            |
 Attachment #204279|                            |maintainer-approval?
              Flags|                            |

--- Comment #74 from rozhuk.im at gmail.com ---
Created attachment 204279
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204279&action=edit
patch update

Crash fixes and improvements

- Add reaction to mount points changed.
- kq_fnme_init_cb() now check is existing fnmo is alive and try to reinit if
needed.
- Add few additional checks for -1 == fnmo->fd (is_removed).
- use mem addr as timer id (for EVFILT_TIMER)
- split kq_fnmo_init() into kq_fnmo_init() + kq_fnmo_reopen_fd()
- fix MSTOSBT macro and comment.
- fix: readdir_next() may returns empty entryes without filename
- fix: kq_fnmo_readdir() may return already deleted files, that returns from
readdir_next()
- fix: wrong event "add file" after event "remove file" (die to
kq_fnmo_readdir())
- fix: fd leak and may crash on dir remove: use kq_fnmo_reopen_fd() instead of
kq_fnmo_init()
- fix: duplicate event about monitoring dir deleted
- cosmetic changes...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gnome mailing list