append md5sum information of enigma2 python files in order to help improve crash...
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 28 Nov 2006 01:46:11 +0000 (01:46 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 28 Nov 2006 01:46:11 +0000 (01:46 +0000)
main/bsod.cpp

index b646394..b273eac 100644 (file)
@@ -86,6 +86,10 @@ void bsodFatal()
                std::string buffer = getLogBuffer();
                fwrite(buffer.c_str(), buffer.size(), 1, f);
                fclose(f);
+               
+               char cmd[256];
+               sprintf(cmd, "find /usr/lib/enigma2/python/ -name \"*.py\" | xargs md5sum >> %s", logfile);
+               system(cmd);
        }
        
        ePtr<gFBDC> my_dc;