cleanup xml parser after config file read. distribute compiled manpages.

This commit is contained in:
Axel Kittenberger 2008-12-13 18:06:11 +00:00
parent fa40f4c1c0
commit 040ca04cb6
4 changed files with 21 additions and 5 deletions

View File

@ -1 +1,12 @@
13-12-2008: Release of lsyncd 1.25
fix: mv dir and cp -r working
fix: working with reiserfs
enhancement: config files
enhancement: multiple targets
enhancement: pidfiles
optimized: memory usage
improved documentation
lots of smaller stuff here and there ...
Thanks to all contributers!
05-12-2007: Release of lsyncd 1.0

View File

@ -11,7 +11,9 @@ TESTS = tests/help.sh \
datarootdir = @datarootdir@
EXTRA_DIST = config.h.in inotify-nosys.h manpage.xml lsyncd.conf.xml
EXTRA_DIST = config.h.in inotify-nosys.h \
manpage.lsyncd.xml manpage.lsyncd.conf.xml lsyncd.conf.xml \
lsyncd.1 lsyncd.conf.xml.5
nodist_man1_MANS = lsyncd.1 lsyncd.conf.xml.5

View File

@ -1,6 +1,6 @@
AC_INIT(lsyncd.c)
m4_define(LSYNCD_PACKAGE,lsyncd)
m4_define(LSYNCD_VERSION,1.0)
m4_define(LSYNCD_VERSION,1.25)
AM_INIT_AUTOMAKE(LSYNCD_PACKAGE,LSYNCD_VERSION)
AC_ARG_ENABLE([xml_config],
@ -12,9 +12,9 @@ AC_ARG_ENABLE([xml_config],
esac],[xml_config=true])
AM_CONDITIONAL(XML_CONFIG,[test x$xml_config = xtrue])
if test x$xml_config = xtrue; then
AM_PATH_XML2(2.5.0,,AC_MSG_ERROR([*** Libxml is required if you do not --disable-xml-config]))
fi
#if test x$xml_config = xtrue; then
#AM_PATH_XML2(2.5.0,,AC_MSG_ERROR([*** Libxml is required if you do not --disable-xml-config]))
#fi
AM_MAINTAINER_MODE

View File

@ -1494,6 +1494,9 @@ bool parse_config(bool fullparse) {
exit(LSYNCD_BADCONFIGFILE);
}
}
xmlFreeDoc(doc);
xmlCleanupParser();
return true;
}