Up to [cvs.netbsd.org] / pkgsrc / sysutils / fam / files
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 8 23:31:34 2007 UTC (4 years, 10 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Changes since 1.3: +10 -1
lines
Diff to previous 1.3 (colored)
Use sysctl() when sysctlbyname() is unavailable. Patch from OpenBSD ports. This fixes PR 36346.
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Jan 6 00:39:56 2005 UTC (7 years, 4 months ago) by salo
Branch: pkgsrc-2004Q4
Changes since 1.2: +61 -11
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Pullup ticket 209 - requested by Julio M. Merino Vidal
usability fix for fam
Module Name: pkgsrc
Committed By: jmmv
Date: Wed Jan 5 16:21:06 UTC 2005
Modified Files:
pkgsrc/sysutils/fam: Makefile
pkgsrc/sysutils/fam/files: IMonKQueue.c++
Log Message:
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.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 5 16:21:06 2005 UTC (7 years, 4 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.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 19 17:00:56 2004 UTC (7 years, 7 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base
Branch point for: pkgsrc-2004Q4
Changes since 1.1: +4 -8
lines
Diff to previous 1.1 (colored)
Remove a memory leak that was supposed to fix a bug (but the bug is not really there... i.e., me not reading the code properly). Not bumping revision since this affects the kqueue part only, which is not built by default.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 17 19:20:53 2004 UTC (7 years, 7 months ago) by jmmv
Branch: MAIN
Add kqueue support. This way, famd can be notified of changes to files and directories in "real time", without having to periodically poll(2) for them after several seconds. This improves the responsiveness of applications using famd (specially GNOME) when changes to files occur from the "outside" (they are notified from changes immediately), or even from the application itself (for example, have you ever tried to rename several files from Nautilus? just a PITA). To enable kqueue, you have to pass the 'kqueue' option to the package. I'm not enabling it by default because it needs testing (but it should be enabled in a future). Furthermore, I'd like to send these patches to the FAM developers for comments too. And a review from somebody knowing kqueue could be good! (this is the first time I use the kqueue interface, so I'm not sure if everything is right). A description on how this works can be found in the files/IMonKQueue.c++ file. Note that, due to FAM's design, the easiest way to do this change is to "emulate" imon functionality. While here, add an rc.d script for famd, in case the user prefers to run it at system startup instead of from inetd (I created it while developing the kqueue functionality, so it's a good moment to add it). Adjust the MESSAGE accordingly. Bump PKGREVISION to 4.