summaryrefslogtreecommitdiffstats
path: root/test-strsep.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-17 22:27:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-17 22:27:12 +0000
commit9545095c2bf847cb8689d285805819c1e4c00502 (patch)
tree8109dbe5c1c1213c9f8ade302abf7202fc888d00 /test-strsep.c
parentfbb27951be5b224a8e3f34ecf1a4750a3eaf2b3f (diff)
downloadmandoc-9545095c2bf847cb8689d285805819c1e4c00502.tar.gz
Never create empty databases.
When pkg_add(1)ing packages installing manual pages into some directory, the database in that directory automatically gets created or updated, no change so far. This patch causes the database file to be automatically unlinked when pkg_delete(1)ing the last package having manual pages in that directory, to leave less cruft behind. Suggested by ajacoutot@.
Diffstat (limited to 'test-strsep.c')
0 files changed, 0 insertions, 0 deletions