ref: refs/heads/master
commit b336fc5aca442fd9d2faef82ff8c53f4251bcb96
Author: Michael Calmer
Date: Wed Jul 22 11:29:57 2009 +0200
fix building helpers
---
helper/installHelper.cc | 2 +-
helper/test.cc | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/helper/installHelper.cc b/helper/installHelper.cc
index 83d106f..6343f75 100644
--- a/helper/installHelper.cc
+++ b/helper/installHelper.cc
@@ -14,7 +14,7 @@ using namespace boost::interprocess;
using std::endl;
-Comm & getshmem()
+Comm & cmpizypp::getshmem()
{
static shared_memory_object shm( open_only, SHM_NAME, read_write );
//Map the whole shared memory in this process
diff --git a/helper/test.cc b/helper/test.cc
index ded03b1..86b98e7 100644
--- a/helper/test.cc
+++ b/helper/test.cc
@@ -7,16 +7,19 @@
#include
#include
#include
+#include
+#include
#include "installHelper.h"
using namespace zypp;
+using namespace zypp::filesystem;
using namespace cmpizypp;
using namespace boost::interprocess;
using std::endl;
-Comm & getshmem()
+Comm & cmpizypp::getshmem()
{
static bool initialized = false;
if ( ! initialized )
@@ -65,7 +68,7 @@ try {
} remover;
// write task list
- std::string path( TmpFile().path() );
+ std::string path( TmpFile().path().asString() );
std::ofstream o( path.c_str() );
o << "hi" << endl;
o.close();
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org