From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id q3FDUcbD000590 for ; Sun, 15 Apr 2012 09:30:38 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id q3FDUcC5026301; Sun, 15 Apr 2012 09:30:38 -0400 (EDT) Date: Sun, 15 Apr 2012 09:30:38 -0400 (EDT) Message-Id: <201204151330.q3FDUcC5026301@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Being reluctant to add yet more trailing whitespace, i rather X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Being reluctant to add yet more trailing whitespace, i rather back it out here than merge it to OpenBSD. No binary change. Modified Files: -------------- mdocml: mandocdb.c Revision Data ------------- Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.46 retrieving revision 1.47 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.46 -r1.47 --- mandocdb.c +++ mandocdb.c @@ -137,12 +137,12 @@ static void index_merge(const struct const char *); static void index_prune(const struct of *, struct mdb *, struct recs *, const char *); -static void ofile_argbuild(int, char *[], +static void ofile_argbuild(int, char *[], struct of **, const char *); static void ofile_dirbuild(const char *, const char *, const char *, int, struct of **, char *); static void ofile_free(struct of *); -static void pformatted(DB *, struct buf *, struct buf *, +static void pformatted(DB *, struct buf *, struct buf *, const struct of *, const char *); static int pman_node(MAN_ARGS); static void pmdoc_node(MDOC_ARGS); @@ -410,7 +410,7 @@ main(int argc, char *argv[]) ofile_argbuild(argc, argv, &of, "."); if (NULL == of) goto out; - index_merge(of, mp, &dbuf, &buf, + index_merge(of, mp, &dbuf, &buf, hash, &mdb, &recs, "."); goto out; } @@ -651,7 +651,7 @@ index_merge(const struct of *of, struct assert(march); if (strcasecmp(march, of->arch)) WARNING(fn, basedir, "Architecture \"%s\" " - "manual in \"%s\" directory", + "manual in \"%s\" directory", march, of->arch); /* @@ -822,7 +822,7 @@ index_merge(const struct of *of, struct while (0 == (*files->seq)(files, &key, &val, seq)) { seq = R_NEXT; if (val.size) - WARNING((char *)val.data, basedir, + WARNING((char *)val.data, basedir, "Probably unreachable, title " "is %s", (char *)key.data); } @@ -837,7 +837,7 @@ index_merge(const struct of *of, struct * in `idx' (zeroing its value size). */ static void -index_prune(const struct of *ofile, struct mdb *mdb, +index_prune(const struct of *ofile, struct mdb *mdb, struct recs *recs, const char *basedir) { const struct of *of; @@ -913,7 +913,7 @@ index_prune(const struct of *ofile, stru } if (verb) - printf("%s: Deleting from index: %s\n", + printf("%s: Deleting from index: %s\n", basedir, fn); val.size = 0; @@ -1760,7 +1760,7 @@ ofile_dirbuild(const char *dir, const ch continue; } - ofile_dirbuild(buf, sec, arch, + ofile_dirbuild(buf, sec, arch, src_form, of, basedir); p = strrchr(basedir, '/'); -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv