diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-23 16:29:27 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-23 16:29:27 +0000 |
commit | 85dafff40303a63c70b0325c67b4bb8120cc2e4d (patch) | |
tree | b610cc2996aa86ec539a7968db45baad99e9abf9 /sysutils/fileschanged/files/patch-monitor.c | |
parent | - Unmark BROKEN, it's fetchable again (diff) |
Add fileschanged, a client to the FAM (File Alteration Monitor) server.
Here's how the fileschanged FAM client works: you give it some filenames
on the command line and then it monitors those files for changes. When it
discovers that a file has changed (or has been altered), it displays
the filename on the standard-output.
PR: ports/66894
Submitted by: Konstantin Reznichenko <kot@premierbank.dp.ua>
Notes
Notes:
svn path=/head/; revision=109792
Diffstat (limited to 'sysutils/fileschanged/files/patch-monitor.c')
-rw-r--r-- | sysutils/fileschanged/files/patch-monitor.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/fileschanged/files/patch-monitor.c b/sysutils/fileschanged/files/patch-monitor.c new file mode 100644 index 000000000000..fc33c2a7995c --- /dev/null +++ b/sysutils/fileschanged/files/patch-monitor.c @@ -0,0 +1,12 @@ +--- src/monitor.c.orig Mon Feb 23 02:17:30 2004 ++++ src/monitor.c Wed May 19 18:30:54 2004 +@@ -2,7 +2,9 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#if !defined(__FreeBSD__) + #include <sys/select.h> ++#endif + #include <sys/types.h> + #include <sys/stat.h> + #include <time.h> |