moved the symlinks detection within a CVS check, this is not portable and

* configure.in: moved the symlinks detection within a CVS
  check, this is not portable and will be removed soon.
* xpath.c: small cleanup/speedup
Daniel
This commit is contained in:
Daniel Veillard 2001-06-27 11:13:35 +00:00
parent 823a77f8f9
commit 9a89a8ab80
3 changed files with 20 additions and 20 deletions

View File

@ -1,3 +1,9 @@
Wed Jun 27 13:09:51 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in: moved the symlinks detection within a CVS
check, this is not portable and will be removed soon.
* xpath.c: small cleanup/speedup
Tue Jun 26 18:05:26 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Tue Jun 26 18:05:26 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in doc/xml.html include/libxml/xmlwin32version.h: * configure.in doc/xml.html include/libxml/xmlwin32version.h:

View File

@ -429,29 +429,22 @@ AC_SUBST(M_LIBS)
AC_SUBST(RDL_LIBS) AC_SUBST(RDL_LIBS)
dnl dnl
dnl cleanup any remaining symlinks if any for include/libxml dnl cleanup any remaining symlinks if any for include/libxml, this
dnl is only needed for the people using CVS and transitionning
dnl dnl
if test -L $srcdir/include/libxml if test -d $srcdir/include/CVS
then then
if test -d $srcdir/include/CVS if test -L $srcdir/include/libxml
then then
rm -rf $srcdir/include/libxml rm -rf $srcdir/include/libxml
echo The CVS repository changed a bit echo The CVS repository changed a bit
echo 'please run "cvs update -d" and rerun the configuration script' echo 'please run "cvs update -d" and rerun the configuration script'
exit 1 exit 1
else fi
echo $srcdir/include/libxml should not be a symlink anymore if test -e $srcdir/xmlversion.h
exit 1 then
rm -f $srcdir/xmlversion.h
fi fi
fi
if test -e $srcdir/xmlversion.h
then
rm -f $srcdir/xmlversion.h
fi
if test ! -r libxml
then
rm -rf libxml
ln -s $srcdir/include/libxml libxml
fi fi
AC_OUTPUT(libxml.spec Makefile include/Makefile include/libxml/Makefile doc/Makefile example/Makefile include/libxml/xmlversion.h include/libxml/xmlwin32version.h xml2-config libxml-2.0.pc xml2Conf.sh) AC_OUTPUT(libxml.spec Makefile include/Makefile include/libxml/Makefile doc/Makefile example/Makefile include/libxml/xmlversion.h include/libxml/xmlwin32version.h xml2-config libxml-2.0.pc xml2Conf.sh)

View File

@ -5556,7 +5556,8 @@ xmlXPathParseNCName(xmlXPathParserContextPtr ctxt) {
while (((*in >= 0x61) && (*in <= 0x7A)) || while (((*in >= 0x61) && (*in <= 0x7A)) ||
((*in >= 0x41) && (*in <= 0x5A)) || ((*in >= 0x41) && (*in <= 0x5A)) ||
((*in >= 0x30) && (*in <= 0x39)) || ((*in >= 0x30) && (*in <= 0x39)) ||
(*in == '_')) (*in == '_') || (*in == '.') ||
(*in == '-'))
in++; in++;
if ((*in == ' ') || (*in == '>') || (*in == '/') || if ((*in == ' ') || (*in == '>') || (*in == '/') ||
(*in == '[') || (*in == ']') || (*in == ':') || (*in == '[') || (*in == ']') || (*in == ':') ||