- move the initialization to a option class.
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 7 Apr 2008 10:18:01 +0000 (10:18 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 7 Apr 2008 10:18:01 +0000 (10:18 +0000)
commitf4b280bc08221d803d37ea6113f480f55408ba90
tree9f55c86625c651a12e2b12f40f4467ab27a10495
parenteb18a5ccd4ddec912cce72261b1ac43835c6f6cf
- move the initialization to a option class.
- allow the base path to be overriden.
  by default it uses the same /var/run/zypp-name.lock if root
  and /var/tmp/zypp-username/zypp-name.lock if user.

- now test pass as user too.
tests/zypp/base/InterProcessMutex2_test.cc
tests/zypp/base/InterProcessMutex_test.cc
zypp/base/InterProcessMutex.cc
zypp/base/InterProcessMutex.h