From: Sebastian Hammer Date: Wed, 20 Mar 1996 16:16:55 +0000 (+0000) Subject: Added diagnostic output X-Git-Tag: ZEBRA.1.0~516 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=66754808c6d7f236dac6c6d6ab50d1ad976cfacc;p=idzebra-moved-to-github.git Added diagnostic output --- diff --git a/index/trav.c b/index/trav.c index 6894ca5..cee4bb0 100644 --- a/index/trav.c +++ b/index/trav.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: trav.c,v $ - * Revision 1.18 1996-03-19 12:43:27 adam + * Revision 1.19 1996-03-20 16:16:55 quinn + * Added diagnostic output + * + * Revision 1.18 1996/03/19 12:43:27 adam * Bug fix: File update traversal didn't handle trailing slashes correctly. * Bug fix: Update of sub directory groups wasn't handled correctly. * @@ -80,6 +83,7 @@ #include #include #include +#include #include #include "index.h" @@ -245,6 +249,8 @@ static void fileUpdateR (struct dirs_info *di, struct dirs_entry *dst, { dirs_add (di, src, dst->sysno, e_src[i_src].ctime); } + logf (LOG_LOG, "old: %s", ctime (&dst->ctime)); + logf (LOG_LOG, "new: %s", ctime (&e_src[i_src].ctime)); } dst = dirs_read (di); break;