=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.219 retrieving revision 1.220 diff -u -p -r1.219 -r1.220 --- mandoc/main.c 2015/02/07 06:28:08 1.219 +++ mandoc/main.c 2015/02/10 08:05:30 1.220 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.219 2015/02/07 06:28:08 schwarze Exp $ */ +/* $Id: main.c,v 1.220 2015/02/10 08:05:30 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze @@ -566,7 +566,7 @@ found: " consider running # makewhatis %s\n", progname, name, sec, paths->paths[ipath]); #endif - + *res = mandoc_reallocarray(*res, ++*ressz, sizeof(struct manpage)); page = *res + (*ressz - 1); page->file = file;