summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-10-15 20:23:51 +0000
committerschwarze <schwarze@openbsd.org>2013-10-15 20:23:51 +0000
commit40edcb8bf552d4c79febc1ab801d65a088918174 (patch)
tree5f13d063763b2594bfcceeafccc130935a94d784 /usr.sbin/ldpd/labelmapping.c
parentFix whitespace and other style issues. (diff)
downloadwireguard-openbsd-40edcb8bf552d4c79febc1ab801d65a088918174.tar.xz
wireguard-openbsd-40edcb8bf552d4c79febc1ab801d65a088918174.zip
If the fake target of a port installed an empty (0-byte) file as a
manual page, pkg_create(1) asked groff to process the empty file, which failed, and then decided to install the empty file as a source manual page, which later caused mandoc(1) called from man(1) to complain to the end-user. Instead, detect the emptiness in time, skip the formatting attempt, skip the file, process the packing list to its end, then abort pkg_create(1) unsuccessfully such that the porter sees the problem and can fix whatever the root cause is. Problem reported by naddy@ as seen in p5-Carp-Datum during a bulk build, solution is joint work with espie@, again tested in a bulk by naddy@; "please commit" espie@.
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
0 files changed, 0 insertions, 0 deletions