From 23ae8ccb1b52134baac639bb4490d75fd11c858e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 15:54:39 +0000 Subject: Removed restriction on integer manual sections in -man. --- man.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index 28c00c90..8777a39e 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.67 2010/05/15 06:48:13 kristaps Exp $ */ +/* $Id: man.c,v 1.68 2010/05/15 15:54:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -32,7 +32,6 @@ const char *const __man_merrnames[WERRMAX] = { "invalid character", /* WNPRINT */ - "invalid manual section", /* WMSEC */ "invalid date format", /* WDATE */ "scope of prior line violated", /* WLNSCOPE */ "over-zealous prior line scope violation", /* WLNSCOPE2 */ @@ -174,6 +173,8 @@ man_free1(struct man *man) free(man->meta.source); if (man->meta.vol) free(man->meta.vol); + if (man->meta.msec) + free(man->meta.msec); } -- cgit v1.2.3