In article <[email protected]>, Andreas Gustafsson <[email protected]> wrote: >Christos, > >The build is still failing on the testbed after your commit of >src/tools/mandoc/Makefile 1.14, with two separate errors: > >--- mandoc_aux.o --- >/tmp/bracket/build/2018.08.15.14.31.22-i386/src/external/bsd/mdocml/lib/libmandoc/../../dist/mandoc_aux.c: > In function 'mandoc_recallocarray': >/tmp/bracket/build/2018.08.15.14.31.22-i386/src/external/bsd/mdocml/lib/libmandoc/../../dist/mandoc_aux.c:92:8: > error: implicit declaration of function > ptr = recallocarray(ptr, oldnum, num, size); > ^~~~~~~~~~~~~ >/tmp/bracket/build/2018.08.15.14.31.22-i386/src/external/bsd/mdocml/lib/libmandoc/../../dist/mandoc_aux.c:92:6: > error: assignment makes pointer from > ptr = recallocarray(ptr, oldnum, num, size);
This is what breaks it and I fixed it (I think). >--- man_validate.o --- >/tmp/bracket/build/2018.08.15.14.31.22-i386/src/external/bsd/mdocml/lib/libmandoc/../../dist/man_validate.c: > In function 'man_node_validate': >/tmp/bracket/build/2018.08.15.14.31.22-i386/src/external/bsd/mdocml/lib/libmandoc/../../dist/man_validate.c:95:49: > error: array subscript is below array > static const v_check *man_valids = __man_valids - MAN_TH; This is intended.... christos
