Changeset: d542680ffed7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d542680ffed7
Modified Files:
        gdk/gdk_logger.c
Branch: HTM
Log Message:

Silence the compiler


diffs (13 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -2158,7 +2158,8 @@ logger_cleanup_old(logger *lg, int keep_
                        lgpath = GDKfilepath(farmid, lg->dir, LOGFILE, buf);
                        if (lgpath != NULL) {
                                if (stat(lgpath, &lgstat) == 0 &&
-                                       !lgstat.st_mtime < 
-keep_persisted_log_files){
+                                       !(lgstat.st_mtime < 
-keep_persisted_log_files)){
+                                       /* Skip this log file, it's not old 
enough */
                                        id = id - 1;
                                        GDKfree(lgpath);
                                        continue;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to