[openrtm-commit:01860] r699 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 3月 16日 (水) 16:45:45 JST


Author: miyamoto
Date: 2016-03-16 16:45:45 +0900 (Wed, 16 Mar 2016)
New Revision: 699

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/SharedMemory.py
Log:
[compat,bugfix,->RELENG_1_2] bug fix. refs #3410

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/SharedMemory.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/SharedMemory.py	2016-03-16 06:49:01 UTC (rev 698)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/SharedMemory.py	2016-03-16 07:45:45 UTC (rev 699)
@@ -137,7 +137,7 @@
     memory_size = SharedMemory.default_memory_size
     if size_str:
       if size_str[-1] == "M":
-        memory_size = 1024 * 1024 * int(size_str[0:-1])
+        memory_size = 1048576 * int(size_str[0:-1])
       elif size_str[-1] == "k":
         memory_size = 1024 * int(size_str[0:-1])
       else:



More information about the openrtm-commit mailing list