Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makemandb Fix inverted condition when handling stal...
details: https://anonhg.NetBSD.org/src/rev/aed2cdf94f3b
branches: trunk
changeset: 777716:aed2cdf94f3b
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Mar 02 15:09:58 2012 +0000
description:
Fix inverted condition when handling stale entries.
>From Abhinav Upadhyay.
diffstat:
usr.sbin/makemandb/makemandb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ef2f4fd033cf -r aed2cdf94f3b usr.sbin/makemandb/makemandb.c
--- a/usr.sbin/makemandb/makemandb.c Fri Mar 02 14:36:04 2012 +0000
+++ b/usr.sbin/makemandb/makemandb.c Fri Mar 02 15:09:58 2012 +0000
@@ -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.upadhyay%gmail.com@localhost>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps%bsd.lv@localhost>
@@ -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 @@
total_count, new_count, link_count, err_count);
}
- if (mflags.recreate == 0)
+ if (mflags.recreate)
return;
if (mflags.verbosity)
Home |
Main Index |
Thread Index |
Old Index