Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makemandb PR/50460: Abhinav Upadhyay: Fix legacy ap...
details: https://anonhg.NetBSD.org/src/rev/8a6b5937dd9d
branches: trunk
changeset: 344294:8a6b5937dd9d
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 20 17:31:09 2016 +0000
description:
PR/50460: Abhinav Upadhyay: Fix legacy apropos query to match both the name
and the one line description and delete extra args.
diffstat:
usr.sbin/makemandb/apropos-utils.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 8ae96a0f1edf -r 8a6b5937dd9d usr.sbin/makemandb/apropos-utils.c
--- a/usr.sbin/makemandb/apropos-utils.c Sun Mar 20 16:39:36 2016 +0000
+++ b/usr.sbin/makemandb/apropos-utils.c Sun Mar 20 17:31:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apropos-utils.c,v 1.19 2015/12/03 21:01:50 christos Exp $ */
+/* $NetBSD: apropos-utils.c,v 1.20 2016/03/20 17:31:09 christos Exp $ */
/*-
* Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
* All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: apropos-utils.c,v 1.19 2015/12/03 21:01:50 christos Exp $");
+__RCSID("$NetBSD: apropos-utils.c,v 1.20 2016/03/20 17:31:09 christos Exp $");
#include <sys/queue.h>
#include <sys/stat.h>
@@ -559,9 +559,7 @@
"%s"
"%s",
snippet_args[0], snippet_args[1], snippet_args[2],
- wild,
- section_clause ? section_clause : "",
- snippet_args[0], snippet_args[1], snippet_args[2],
+ wild, wild,
section_clause ? section_clause : "",
limit_clause ? limit_clause : "");
free(wild);
Home |
Main Index |
Thread Index |
Old Index