Module Name:    src
Committed By:   sborrill
Date:           Mon Mar  5 19:16:27 UTC 2012

Modified Files:
        src/usr.sbin/makemandb [netbsd-6]: makemandb.c

Log Message:
Pull up the following revisions(s) (requested by joerg in ticket #77):
        usr.sbin/makemandb/makemandb.c: revision 1.7

Fix inverted condition when handling stale entries.


To generate a diff of this commit:
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 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.2.2.2 src/usr.sbin/makemandb/makemandb.c:1.2.2.3
--- src/usr.sbin/makemandb/makemandb.c:1.2.2.2	Fri Mar  2 17:02:00 2012
+++ src/usr.sbin/makemandb/makemandb.c	Mon Mar  5 19:16:27 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: makemandb.c,v 1.2.2.2 2012/03/02 17:02:00 riz Exp $	*/
+/*	$NetBSD: makemandb.c,v 1.2.2.3 2012/03/05 19:16:27 sborrill Exp $	*/
 /*
  * Copyright (c) 2011 Abhinav Upadhyay <[email protected]>
  * Copyright (c) 2011 Kristaps Dzonsons <[email protected]>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: makemandb.c,v 1.2.2.2 2012/03/02 17:02:00 riz Exp $");
+__RCSID("$NetBSD: makemandb.c,v 1.2.2.3 2012/03/05 19:16:27 sborrill 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)

Reply via email to