Skip to content

Commit

Permalink
moved the symlinks detection within a CVS check, this is not portable…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Daniel Veillard committed Jun 27, 2001
1 parent 823a77f commit 9a89a8a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Wed Jun 27 13:09:51 CEST 2001 Daniel Veillard <[email protected]>

* 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 <[email protected]>

* configure.in doc/xml.html include/libxml/xmlwin32version.h:
Expand Down
31 changes: 12 additions & 19 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -429,29 +429,22 @@ AC_SUBST(M_LIBS)
AC_SUBST(RDL_LIBS)

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
if test -L $srcdir/include/libxml
if test -d $srcdir/include/CVS
then
if test -d $srcdir/include/CVS
if test -L $srcdir/include/libxml
then
rm -rf $srcdir/include/libxml
echo The CVS repository changed a bit
echo 'please run "cvs update -d" and rerun the configuration script'
exit 1
else
echo $srcdir/include/libxml should not be a symlink anymore
exit 1
rm -rf $srcdir/include/libxml
echo The CVS repository changed a bit
echo 'please run "cvs update -d" and rerun the configuration script'
exit 1
fi
if test -e $srcdir/xmlversion.h
then
rm -f $srcdir/xmlversion.h
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

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)
Expand Down
3 changes: 2 additions & 1 deletion xpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -5556,7 +5556,8 @@ xmlXPathParseNCName(xmlXPathParserContextPtr ctxt) {
while (((*in >= 0x61) && (*in <= 0x7A)) ||
((*in >= 0x41) && (*in <= 0x5A)) ||
((*in >= 0x30) && (*in <= 0x39)) ||
(*in == '_'))
(*in == '_') || (*in == '.') ||
(*in == '-'))
in++;
if ((*in == ' ') || (*in == '>') || (*in == '/') ||
(*in == '[') || (*in == ']') || (*in == ':') ||
Expand Down

0 comments on commit 9a89a8a

Please sign in to comment.