Author: eudoxos
Date: 2009-08-05 13:03:10 +0200 (Wed, 05 Aug 2009)
New Revision: 1923

Modified:
   trunk/core/BexContainer.hpp
   trunk/core/yade.cpp
Log:
1. Fix https://bugs.launchpad.net/bugs/409254


Modified: trunk/core/BexContainer.hpp
===================================================================
--- trunk/core/BexContainer.hpp 2009-08-05 10:09:52 UTC (rev 1922)
+++ trunk/core/BexContainer.hpp 2009-08-05 11:03:10 UTC (rev 1923)
@@ -179,7 +179,7 @@
                        if(moveRotUsed){
                                memset(_move  [0],0,sizeof(Vector3r)*size);
                                memset(_rot   [0],0,sizeof(Vector3r)*size);
-                               moveRotUsed=False;
+                               moveRotUsed=false;
                        }
                }
                //! No-op for API compatibility with the threaded version

Modified: trunk/core/yade.cpp
===================================================================
--- trunk/core/yade.cpp 2009-08-05 10:09:52 UTC (rev 1922)
+++ trunk/core/yade.cpp 2009-08-05 11:03:10 UTC (rev 1923)
@@ -77,7 +77,7 @@
                case SIGSEGV:
                        signal(SIGSEGV,SIG_DFL); signal(SIGABRT,SIG_DFL); // 
prevent loops - default handlers
                        cerr<<"SIGSEGV/SIGABRT handler called; gdb batch file 
is `"<<Omega::instance().gdbCrashBatch<<"'"<<endl;
-                       std::system((string("gdb -x 
")+Omega::instance().gdbCrashBatch).c_str());
+                       int res=std::system((string("gdb -x 
")+Omega::instance().gdbCrashBatch).c_str());
                        unlink(Omega::instance().gdbCrashBatch.c_str()); // 
delete the crash batch file
                        raise(sig); // reemit signal after exiting gdb
                        break;


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
yade-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-dev

Reply via email to