Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/catman Call the path for makewhatis _PATH_MAKEWHATI...
details: https://anonhg.NetBSD.org/src/rev/6ff232c5efa2
branches: trunk
changeset: 345466:6ff232c5efa2
user: dholland <dholland%NetBSD.org@localhost>
date: Sun May 29 22:33:39 2016 +0000
description:
Call the path for makewhatis _PATH_MAKEWHATIS instead of _PATH_WHATIS,
for clarity.
diffstat:
usr.sbin/catman/catman.c | 6 +++---
usr.sbin/catman/pathnames.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 6f0b9f257a77 -r 6ff232c5efa2 usr.sbin/catman/catman.c
--- a/usr.sbin/catman/catman.c Sun May 29 22:32:03 2016 +0000
+++ b/usr.sbin/catman/catman.c Sun May 29 22:33:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: catman.c,v 1.36 2016/05/29 22:09:51 dholland Exp $ */
+/* $NetBSD: catman.c,v 1.37 2016/05/29 22:33:39 dholland Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: catman.c,v 1.36 2016/05/29 22:09:51 dholland Exp $");
+__RCSID("$NetBSD: catman.c,v 1.37 2016/05/29 22:33:39 dholland Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -602,7 +602,7 @@
err(1, "malloc");
TAILQ_FOREACH(e_whatdb, &whatdbp->entrylist, q) {
snprintf(sysbuf, sizeof(sysbuf), "%s %s",
- _PATH_WHATIS, dirname(e_whatdb->s));
+ _PATH_MAKEWHATIS, dirname(e_whatdb->s));
if (f_noprint == 0)
printf("%s\n", sysbuf);
if (f_noaction == 0)
diff -r 6f0b9f257a77 -r 6ff232c5efa2 usr.sbin/catman/pathnames.h
--- a/usr.sbin/catman/pathnames.h Sun May 29 22:32:03 2016 +0000
+++ b/usr.sbin/catman/pathnames.h Sun May 29 22:33:39 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.5 2003/08/07 11:25:13 agc Exp $ */
+/* $NetBSD: pathnames.h,v 1.6 2016/05/29 22:33:39 dholland Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,4 +34,4 @@
#define _PATH_MANCONF "/etc/man.conf"
#define _PATH_PAGER "/usr/bin/more -s"
#define _PATH_TMP "/tmp/man.XXXXXX"
-#define _PATH_WHATIS "/usr/libexec/makewhatis"
+#define _PATH_MAKEWHATIS "/usr/libexec/makewhatis"
Home |
Main Index |
Thread Index |
Old Index