Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/apropos make it compile; sync w/ usr.bin/man change
details: https://anonhg.NetBSD.org/src/rev/6f96ffb8ca21
branches: trunk
changeset: 532617:6f96ffb8ca21
user: itojun <itojun%NetBSD.org@localhost>
date: Tue Jun 11 05:46:50 2002 +0000
description:
make it compile; sync w/ usr.bin/man change
diffstat:
usr.bin/apropos/apropos.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cffc14826c63 -r 6f96ffb8ca21 usr.bin/apropos/apropos.c
--- a/usr.bin/apropos/apropos.c Tue Jun 11 05:33:51 2002 +0000
+++ b/usr.bin/apropos/apropos.c Tue Jun 11 05:46:50 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apropos.c,v 1.17 2002/03/08 20:23:10 jdolecek Exp $ */
+/* $NetBSD: apropos.c,v 1.18 2002/06/11 05:46:50 itojun Exp $ */
/*
* Copyright (c) 1987, 1993, 1994
@@ -44,7 +44,7 @@
#if 0
static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: apropos.c,v 1.17 2002/03/08 20:23:10 jdolecek Exp $");
+__RCSID("$NetBSD: apropos.c,v 1.18 2002/06/11 05:46:50 itojun Exp $");
#endif
#endif /* not lint */
@@ -121,7 +121,7 @@
apropos(argv, p_path, 1);
else {
config(conffile);
- ep = (tp = getlist("_whatdb")) == NULL ?
+ ep = (tp = getlist("_whatdb", 0)) == NULL ?
NULL : TAILQ_FIRST(&tp->list);
for (; ep != NULL; ep = TAILQ_NEXT(ep, q)) {
if ((rv = glob(ep->s, GLOB_BRACE | GLOB_NOSORT, NULL,
Home |
Main Index |
Thread Index |
Old Index