From 85dafff40303a63c70b0325c67b4bb8120cc2e4d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 23 May 2004 16:29:27 +0000 Subject: 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 --- sysutils/fileschanged/files/patch-monitor.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sysutils/fileschanged/files/patch-monitor.c (limited to 'sysutils/fileschanged/files/patch-monitor.c') 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 + #include + #include ++#if !defined(__FreeBSD__) + #include ++#endif + #include + #include + #include -- cgit v1.2.3