From 2208bfef1004295d3227492c6a3e9d7b36903db5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 5 Jan 2011 16:44:31 -0800 Subject: fix for bug 6641 * change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. --- perl_dmod/Cstore/Cstore.xs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl_dmod') diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs index 8633a76..988f575 100644 --- a/perl_dmod/Cstore/Cstore.xs +++ b/perl_dmod/Cstore/Cstore.xs @@ -26,8 +26,7 @@ #include #include -/* currently use the UnionfsCstore implementation */ -#include +#include typedef SV STRVEC; typedef SV STRSTRMAP; @@ -38,7 +37,7 @@ MODULE = Cstore PACKAGE = Cstore Cstore * Cstore::new() CODE: - RETVAL = new UnionfsCstore(); + RETVAL = Cstore::createCstore(false); OUTPUT: RETVAL -- cgit v1.2.3