Module Name: src Committed By: joerg Date: Fri Mar 2 15:09:58 UTC 2012
Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Fix inverted condition when handling stale entries. >From Abhinav Upadhyay. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makemandb/makemandb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/makemandb/makemandb.c diff -u src/usr.sbin/makemandb/makemandb.c:1.6 src/usr.sbin/makemandb/makemandb.c:1.7 --- src/usr.sbin/makemandb/makemandb.c:1.6 Mon Feb 27 16:51:06 2012 +++ src/usr.sbin/makemandb/makemandb.c Fri Mar 2 15:09:58 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: makemandb.c,v 1.6 2012/02/27 16:51:06 joerg Exp $ */ +/* $NetBSD: makemandb.c,v 1.7 2012/03/02 15:09:58 joerg Exp $ */ /* * Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadh...@gmail.com> * Copyright (c) 2011 Kristaps Dzonsons <krist...@bsd.lv> @@ -17,7 +17,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: makemandb.c,v 1.6 2012/02/27 16:51:06 joerg Exp $"); +__RCSID("$NetBSD: makemandb.c,v 1.7 2012/03/02 15:09:58 joerg Exp $"); #include <sys/stat.h> #include <sys/types.h> @@ -772,7 +772,7 @@ update_db(sqlite3 *db, struct mparse *mp total_count, new_count, link_count, err_count); } - if (mflags.recreate == 0) + if (mflags.recreate) return; if (mflags.verbosity)