From e100896ec287b69a49978cc7502276f0759544b0 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 18 Jun 2009 10:32:00 +0000 Subject: Added -fno-ign-chars support to libman. man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7. --- man.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man.c') diff --git a/man.c b/man.c index 14004c55..7d197ff4 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.21 2009/06/16 19:55:28 kristaps Exp $ */ +/* $Id: man.c,v 1.22 2009/06/18 10:32:00 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -182,6 +182,8 @@ man_node_append(struct man *man, struct man_node *p) abort(); /* NOTREACHED */ } + + p->parent->nchild++; man->last = p; -- cgit v1.2.3