diff -urN CommandIO.rb.orig CommandIO.rb --- CommandIO.rb.orig 2002-01-24 00:27:44.000000000 +0100 +++ CommandIO.rb 2013-06-25 07:11:02.562537569 +0200 @@ -46,8 +46,8 @@ fileName = nextLogFile @logFile.close @logFile = File.new(fileName, "r+") - end - Marshal.load @logFile + end + Marshal.load(@logFile) unless @logFile.eof? end def writeCommand(command) diff -urN Mnemonic.rb.orig Mnemonic.rb --- Mnemonic.rb.orig 2002-01-24 02:42:32.000000000 +0100 +++ Mnemonic.rb 2013-06-25 07:25:41.369520673 +0200 @@ -131,7 +131,8 @@ def recoverCommands while(!@commandIO.eof?) - @commandIO.nextCommand.execute(system) + command = @commandIO.nextCommand + command.execute(system) if command end end