* do remember the last modification time
authorMichal Voců <michal@ruk.cuni.cz>
Thu, 22 Mar 2007 07:15:39 +0000 (07:15 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Thu, 22 Mar 2007 07:15:39 +0000 (07:15 +0000)
org.glite.lb.logger/src/event_store.c

index e30ec7b..54c50f8 100644 (file)
@@ -558,6 +558,7 @@ event_store_recover(struct event_store *es)
 
   /* due to this little assignment we had to lock the event_store for writing */
   es->offset = last;
+  es->last_modified = stbuf.st_mtime;
   il_log(LOG_DEBUG, "  event store offset set to %ld\n", last);
 
   if(msg)