Every day, in the daily htdig report, I get these: /bin/mv: `/var/lib/htdig/root2word.db' and `/var/lib/htdig/root2word.db' are the same file /bin/mv: `/var/lib/htdig/word2root.db' and `/var/lib/htdig/word2root.db' are the same file /bin/mv: `/var/lib/htdig/synonyms.db' and `/var/lib/htdig/synonyms.db' are the same file The reason is that the /usr/bin/rundig command sets TMPDIR to the same dir where the database file reside. Either rundig should set TMPDIR to something else, leave it alone, or best of all set it to something to define in /etc/htdig/htdig.conf. For the time being, I just set TMPDIR to /var/tmp by hand in the /usr/bin/rundig file. By the way, the eval statement at thebottom of /etc/htdig/htdig.conf does not need to check for window-system, as Emacs deals with font-lock even on terminals, and has had for several years.
The TMPDIR issue only affects htfuzzy, but it is exacerbated by the fact that it is always invoked since the "up-to-date" test looks in the wrong place for the ".db" files. The patch below fixes that, and so you'll only see the message if the endings/synonym database files need rebuilding.--- rundig.dist 2008-09-23 21:34:45.000000000 +0100 +++ rundig 2009-03-11 19:45:24.000000000 +0000 @@ -81,13 +81,13 @@ # These databases are semi-static, so even if pages change, # these databases will not need to be rebuilt. # -if [ "`ls -t $COMMONDIR/english.0 $COMMONDIR/word2root.db 2>/dev/null | sed 1q`" = \ +if [ "`ls -t $COMMONDIR/english.0 $DBDIR/word2root.db 2>/dev/null | sed 1q`" = \ "$COMMONDIR/english.0" ] then $BINDIR/htfuzzy $opts endings fi