The NetBSD Project

CVS log for pkgsrc/sysutils/fam/files/IMonKQueue.c++

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / fam / files

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: pkgsrc-2006Q4-base


Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 5 16:21:06 2005 UTC (19 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.2: +61 -11 lines
Diff to previous 1.2 (colored)

Fix some long-standing kqueue bugs that have been bothering me for a long
time.  For example, simply running 'nautilus /' could lock up famd in pipewr
status.  To fix:

- Make the struct devino's sorting function work properly; otherwise the
  map behaves incorrectly.
- Handle kqueue errors if they are returned as an entry in the events table
  (with flags containing EV_ERROR).

While here, add more debugging code that helped me catch this issue (some
extra messages and assertions).

Also reenable assertions (except on Darwin as, according to version 1.14 of
the Makefile, they cause problems).

Not bumping revision because kqueue support is still off by default.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>