freemyipod r480 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r479‎ | r480 | r481 >
Date:15:17, 22 January 2011
Author:theseven
Status:new
Tags:
Comment:
libemcore: Remove another leftover default size for file operations
Modified paths:
  • /emcore/trunk/tools/libemcore.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/libemcore.py
@@ -654,7 +654,7 @@
655655 return result.size
656656
657657 @command(timeout = 30000)
658 - def file_read(self, fd, size = 0x10000, addr = None):
 658+ def file_read(self, fd, size, addr = None):
659659 """ Reads data from a file referenced by a handle. If addr is not given it allocates a buffer itself. """
660660 if addr is None:
661661 addr = self.malloc(size)