=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.230 retrieving revision 1.233 diff -u -p -r1.230 -r1.233 --- mandoc/main.c 2015/03/27 21:33:20 1.230 +++ mandoc/main.c 2015/04/16 16:36:21 1.233 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.230 2015/03/27 21:33:20 schwarze Exp $ */ +/* $Id: main.c,v 1.233 2015/04/16 16:36:21 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze @@ -34,11 +34,12 @@ #include #include -#include "mandoc.h" #include "mandoc_aux.h" -#include "main.h" +#include "mandoc.h" +#include "roff.h" #include "mdoc.h" #include "man.h" +#include "main.h" #include "manconf.h" #include "mansearch.h" @@ -575,11 +576,9 @@ fs_lookup(const struct manpaths *paths, size_t ipath, found: #if HAVE_SQLITE3 - fprintf(stderr, "%s: outdated mandoc.db lacks %s(%s) entry,\n" - " consider running # makewhatis %s\n", - progname, name, sec, paths->paths[ipath]); + fprintf(stderr, "%s: outdated mandoc.db lacks %s(%s) entry, run " + "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; @@ -996,7 +995,7 @@ spawn_pager(void) if (pager == NULL || *pager == '\0') pager = getenv("PAGER"); if (pager == NULL || *pager == '\0') - pager = "/usr/bin/more -s"; + pager = "more -s"; cp = mandoc_strdup(pager); /*