Giuseppe Scrivano
2ead2365e0
tail -F: don't stop following the target of a rename
...
This fixes a bug whereby tail -F would fail to track changes
to a file that was a target of a rename, and when the source of
the rename was another tailed file.
* src/tail.c (tail_forever_inotify): Ensure the wd is not already
present in the hash table before trying to add it. When a new watch
descriptor is added to the `wd_to_name' hash table, check that it is
not already present. If it is present then remove the previous element.
2009-12-30 11:22:55 +01:00
..
2009-11-06 16:54:12 +00:00
2009-12-14 08:35:17 +01:00
2009-09-21 12:37:57 +01:00
2009-08-25 09:21:00 +02:00
2009-09-23 14:33:40 +01:00
2009-11-07 08:43:00 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 08:43:00 +01:00
2009-11-07 08:43:00 +01:00
2009-08-25 09:21:00 +02:00
2009-11-28 06:48:03 +01:00
2009-10-23 16:24:05 -06:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-10-10 15:16:52 -06:00
2009-08-29 00:24:49 +01:00
2009-08-25 09:21:00 +02:00
2008-11-20 10:21:52 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-06-23 22:33:15 +02:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 10:10:28 -07:00
2009-10-02 10:58:05 -06:00
2009-09-21 12:37:57 +01:00
2009-06-23 22:33:15 +02:00
2009-11-07 10:10:28 -07:00
2009-10-28 17:01:29 +00:00
2009-10-27 19:55:37 -06:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-08-25 09:21:00 +02:00
2009-12-12 08:10:07 +01:00
2005-07-18 07:52:37 +00:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-06-23 22:33:15 +02:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-06-17 14:54:29 +01:00
2009-09-21 12:37:57 +01:00
2009-10-23 06:29:54 -06:00
2009-09-21 12:37:57 +01:00
2009-12-19 01:21:28 +00:00
2009-12-26 10:40:17 -07:00
2009-10-21 16:56:00 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:25 -07:00
2009-09-21 12:37:57 +01:00
2009-10-28 21:12:41 -06:00
2009-09-21 12:37:57 +01:00
2009-12-13 12:23:41 +01:00
2009-11-06 16:54:12 +00:00
2009-09-23 14:33:40 +01:00
2009-02-28 11:06:35 +01:00
2009-06-23 22:33:15 +02:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-10-28 06:24:52 -06:00
2009-10-28 17:01:29 +00:00
2009-06-23 22:33:15 +02:00
2009-03-02 09:10:17 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-12-19 01:14:07 +00:00
2009-09-11 14:08:51 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-10-29 07:31:23 -06:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-12-08 15:29:27 +00:00
2009-09-21 12:37:57 +01:00
2009-12-22 16:55:04 +00:00
2009-10-26 21:30:28 -06:00
2009-09-23 14:33:40 +01:00
2009-10-28 21:12:41 -06:00
2009-10-21 16:56:00 +01:00
2009-09-21 12:37:57 +01:00
2009-11-05 08:32:31 +01:00
2009-08-25 09:21:00 +02:00
2009-09-21 12:37:57 +01:00
2009-12-30 11:22:55 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-12-08 15:17:01 +00:00
2009-10-23 06:29:54 -06:00
2009-09-21 12:37:57 +01:00
2009-11-16 09:30:50 +01:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2009-09-21 12:37:57 +01:00
2007-07-10 19:00:00 +02:00
2009-09-23 14:33:40 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-09-22 12:21:00 +01:00
2009-09-21 12:37:57 +01:00
2009-12-23 13:45:34 +00:00
2009-08-25 09:21:00 +02:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00