tail.rb _sincedbwrite renames the newly written tmp sincedb over the previously existing one. This is failing with a "permission error" under Windows (7). I added code to (conditionally under windows only) delete the pre-existing sincedb file before the rename and the sincedb writes succeed. If the delete fails I log but leave both in place - the tmp sincedb file should be overwritten next time around.
-Joe Weitekamp
tail.rb _sincedbwrite renames the newly written tmp sincedb over the previously existing one. This is failing with a "permission error" under Windows (7). I added code to (conditionally under windows only) delete the pre-existing sincedb file before the rename and the sincedb writes succeed. If the delete fails I log but leave both in place - the tmp sincedb file should be overwritten next time around.
-Joe Weitekamp