~ubuntu-branches/ubuntu/quantal/libxml2/quantal

« back to all changes in this revision

Viewing changes to xpath.c

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2010-05-30 11:41:13 UTC
  • mfrom: (10.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100530114113-mbw2z0ve7ba0fxm6
Tags: 2.7.7.dfsg-2ubuntu1
* Shuffle old Debian changelog entries around to match the Debian layout and
  reduce the diff.
* Drop /usr/share/doc/python-libxml2-dbg -> python-libxml2 symlink which was
  added to optimize disk space, the -dbg package is huge anyway.  Add a
  preinst snippet to deal with upgrades.
* Merge with Debian.
  - Keep the new Debian build-deps "libreadline-dev | libreadline5-dev"
    since this should work fine with Ubuntu buildds reinstalling everything
    on each build.
  - Drop duplicate -Wall and -g from -dbg CFLAGS.
  - Drop addition of -Wl,-Bsymbolic-functions to LDFLAGS since LDFLAGS
    aren't overriden in the Debian rules anymore.
  - Don't set PYTHON_VERSION and PYTHON_SITE_PACKAGES during python$*-dbg
    builds since these should be correct already.
  - Drop explicit zlib1g-dev dep, .pc only mentions zlib in Libs.private and
    the .la file isn't shipped anymore, so there should be no mention of -lz
    requiring this anymore.
  - Rework creation of -dbg package (python$*-dbg) for the new dh 7 rules;
    install to debian/tmp-dbg.
  - Remaining changes:
    + Add python-libxml2-dbg package built with python$*-dbg and these
      CFLAGS: -Wall -Wextra -g -O0 -fno-strict-aliasing -pedantic.
    + Add libxml2-udeb package.
    + Fix debian/python-libxml2.install to cope with builds which don't have
      any site-packages based python versions.
    + rm -rf build-python$* in configure-python% to fix FTBFS.
* Fix dependency of python-libxml2-dbg on python-libxml2 to use
  ${binary:Version}, not ${source:Version}.
* Add ${misc:Depends} to python-libxml2-dbg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11333
11333
        SKIP_BLANKS;
11334
11334
    }
11335
11335
    xmlXPathCompStep(ctxt);
 
11336
    CHECK_ERROR;
11336
11337
    SKIP_BLANKS;
11337
11338
    while (CUR == '/') {
11338
11339
        if ((CUR == '/') && (NXT(1) == '/')) {
11392
11393
                     (CUR == '@') || (CUR == '*')))
11393
11394
                    xmlXPathCompRelativeLocationPath(ctxt);
11394
11395
            }
 
11396
            CHECK_ERROR;
11395
11397
        }
11396
11398
    }
11397
11399
}