summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-01-26 17:41:48 +0000
committerColin Watson <cjwatson@debian.org>2019-01-26 17:41:48 +0000
commitf76082bb129a60d265e6f393deca3b9bcb50c68e (patch)
tree2aa669c15642ff790758aca953a0472d3a5db9f2 /lib/Makefile.am
parente3059f35410481ce018c70176aa1b40ddd5fc1dd (diff)
Use Gnulib's lchown function
Also remove lib/xchown.*; with only one call site, they don't pull their weight over equivalent inline code. * bootstrap.conf (gnulib_modules): Add lchown. * configure.ac (AC_CHECK_FUNCS): Remove check for lchown. * lib/Makefile.am (libman_la_SOURCES): Remove xchown.c and xchown.h. * src/check_mandirs.c (chown_if_possible): Always use lchown rather than chown, and inline the error check. * po/POTFILES.in: Remove lib/xchown.c. * po/man-db.pot, po/*.po: Update.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ba5684f7..b2ad370b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -59,8 +59,6 @@ libman_la_SOURCES = \
util.c \
wordfnmatch.c \
wordfnmatch.h \
- xchown.c \
- xchown.h \
xregcomp.c \
xregcomp.h