trying to cleanup the not thread safe parts of the library. Daniel

* catalog.c xpath.c: trying to cleanup the not thread safe
  parts of the library.
Daniel
3 files changed