diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-12-22 23:58:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-12-22 23:58:01 +0000 |
commit | 89c124b1e04e596f4ba06193091daad0e01dc939 (patch) | |
tree | 9ed92a7f590db13da46deb9d8434a83b1802ba08 /usr.bin/mandoc/tree.c | |
parent | 3577315b7c4436e4b96b8b9f1d54181b4451d77e (diff) |
sync to 1.9.12, mostly portability and refactoring:
correctness/functionality:
- bugfix: do not die when overstep hits the right margin
- new option: -fign-escape
- and various HTML features
portability:
- replace bzero(3) by memset(3), which is ANSI C
- replace err(3)/warn(3) by perror(3)/exit(3), which is ANSI C
- iuse argv[0] instead of __progname
- add time.h to various files for FreeBSD compilation
simplicity:
- do not allocate header/footer data dynamically in *_term.c
- provide and use malloc frontends that error out on failure
for full changelogs, see http://bsd.lv/cgi-bin/cvsweb.cgi/
Diffstat (limited to 'usr.bin/mandoc/tree.c')
-rw-r--r-- | usr.bin/mandoc/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/tree.c b/usr.bin/mandoc/tree.c index b243df2a246..a2e857c22a1 100644 --- a/usr.bin/mandoc/tree.c +++ b/usr.bin/mandoc/tree.c @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.5 2009/10/21 19:13:51 schwarze Exp $ */ +/* $Id: tree.c,v 1.6 2009/12/22 23:58:00 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -15,9 +15,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <assert.h> -#include <err.h> #include <stdio.h> #include <stdlib.h> +#include <time.h> #include "mdoc.h" #include "man.h" |