Remove more pointer arithmetic passing via regions outside the array
authorschwarze <schwarze@openbsd.org>
Fri, 17 Aug 2018 20:31:52 +0000 (20:31 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 17 Aug 2018 20:31:52 +0000 (20:31 +0000)
commit16fe0cfc6f5ff992d9e21de3d5f2f032950de5e2
tree91af142219b45c108d7188d8bb91f2a5b739519f
parent125f035f22ddd8fc08bdfe114d877497816433ef
Remove more pointer arithmetic passing via regions outside the array
that is undefined according to the C standard.  Robert Elz <kre at
munnari dot oz dot au> pointed out i wasn't quite done yet.
16 files changed:
usr.bin/mandoc/libman.h
usr.bin/mandoc/libmdoc.h
usr.bin/mandoc/man.c
usr.bin/mandoc/man_html.c
usr.bin/mandoc/man_macro.c
usr.bin/mandoc/man_term.c
usr.bin/mandoc/mandocdb.c
usr.bin/mandoc/mdoc.c
usr.bin/mandoc/mdoc_argv.c
usr.bin/mandoc/mdoc_html.c
usr.bin/mandoc/mdoc_macro.c
usr.bin/mandoc/mdoc_man.c
usr.bin/mandoc/mdoc_markdown.c
usr.bin/mandoc/mdoc_state.c
usr.bin/mandoc/mdoc_term.c
usr.bin/mandoc/mdoc_validate.c