-/* $Id: man_validate.c,v 1.58 2013/10/17 20:51:31 schwarze Exp $ */
+/* $Id: man_validate.c,v 1.59 2013/12/31 18:07:06 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
post_TH(CHKARGS)
{
const char *p;
- int line, pos;
free(man->meta.title);
free(man->meta.vol);
free(man->meta.msec);
free(man->meta.date);
- line = n->line;
- pos = n->pos;
man->meta.title = man->meta.vol = man->meta.date =
man->meta.msec = man->meta.source = NULL;
if (n)
n = n->next;
if (n && n->string && '\0' != n->string[0]) {
- pos = n->pos;
man->meta.date = mandoc_normdate
- (man->parse, n->string, line, pos);
+ (man->parse, n->string, n->line, n->pos);
} else
man->meta.date = mandoc_strdup("");
-/* $Id: mandocdb.c,v 1.47 2013/12/31 00:40:19 schwarze Exp $ */
+/* $Id: mandocdb.c,v 1.48 2013/12/31 18:07:06 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
/* Read past the slash. */
val++;
- u = 0;
/*
* Parse the escape sequence and see if it's a
-/* $Id: term.c,v 1.75 2013/12/25 00:39:13 schwarze Exp $ */
+/* $Id: term.c,v 1.76 2013/12/31 18:07:06 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
for (i = 0; i < rsz; i++)
sz += cond_width(p, *cp++, &skip);
- c = 0;
switch (*cp) {
case ('\\'):
cp++;