mirror of
https://github.com/vgough/encfs.git
synced 2025-04-30 06:04:24 +02:00
change boost requirement to 1.34+, to eliminate fs::native usage requirement
git-svn-id: http://encfs.googlecode.com/svn/trunk@22 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
parent
8d1d3ef74a
commit
a54fd2c92c
@ -43,7 +43,7 @@ AC_PROG_LIBTOOL
|
|||||||
|
|
||||||
ACX_PTHREAD
|
ACX_PTHREAD
|
||||||
|
|
||||||
AX_BOOST_BASE([1.33])
|
AX_BOOST_BASE([1.34])
|
||||||
AX_BOOST_SERIALIZATION
|
AX_BOOST_SERIALIZATION
|
||||||
AX_BOOST_FILESYSTEM
|
AX_BOOST_FILESYSTEM
|
||||||
|
|
||||||
|
@ -318,9 +318,7 @@ bool readV6Config( const char *configFile, EncFSConfig *config,
|
|||||||
{
|
{
|
||||||
(void)info;
|
(void)info;
|
||||||
|
|
||||||
fs::path fsPath( configFile, fs::native );
|
fs::ifstream st( configFile );
|
||||||
fs::ifstream st( fsPath );
|
|
||||||
|
|
||||||
if(st.is_open())
|
if(st.is_open())
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -470,9 +468,7 @@ bool saveConfig( ConfigType type, const string &rootDir,
|
|||||||
|
|
||||||
bool writeV6Config( const char *configFile, EncFSConfig *config )
|
bool writeV6Config( const char *configFile, EncFSConfig *config )
|
||||||
{
|
{
|
||||||
fs::path fsPath( configFile, fs::native );
|
fs::ofstream st( configFile );
|
||||||
fs::ofstream st( fsPath );
|
|
||||||
|
|
||||||
if(!st.is_open())
|
if(!st.is_open())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user