[openrtm-commit:00678] r2319 - trunk/OpenRTM-aist/src/ext/local_service/nameservice_file
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 2月 8日 (水) 03:50:03 JST
Author: n-ando
Date: 2012-02-08 03:50:03 +0900 (Wed, 08 Feb 2012)
New Revision: 2319
Modified:
trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/FileNameservice.cpp
Log:
[compat,impl,bugfix] bools filesystem lib API has been changed?
Modified: trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/FileNameservice.cpp
===================================================================
--- trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/FileNameservice.cpp 2012-02-07 18:48:32 UTC (rev 2318)
+++ trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/FileNameservice.cpp 2012-02-07 18:50:03 UTC (rev 2319)
@@ -243,7 +243,7 @@
}
m_files.erase(it);
boost::system::error_code error;
- const bool result = fs::remove(filepath, error);
+ const bool result = fs::remove(filepath); // , error);
RTC_DEBUG(("Removing file: %s", filepath.string().c_str()));
if (!result || error)
{
@@ -267,12 +267,12 @@
*/
bool FileNameservice::createDirectory(fs::path& directory)
{
- RTC_TARCE(("onUnregisterNameservice(%s)", directory.string().c_str()));
+ RTC_TRACE(("onUnregisterNameservice(%s)", directory.string().c_str()));
if (!fs::exists(directory))
{
RTC_DEBUG(("Directory %s not found", directory.string().c_str()));
boost::system::error_code error;
- const bool result = fs::create_directories(directory, error);
+ const bool result = fs::create_directories(directory); //, error);
RTC_DEBUG(("Creating directory: %s", directory.string().c_str()));
if (!result || error)
{
openrtm-commit メーリングリストの案内