the following patch was just integrated into master: commit 32eeff4b6eaf5e0bf1979cc9d08ac60d8d011354 Author: Patrick Georgi patrick@georgi-clan.de Date: Mon Aug 11 09:27:18 2014 +0200
util: replace fseek/ftell/rewind with fstat
It's a more direct approach to get the file size.
Change-Id: If49df26bf4996bd556c675f3a673d0003b4adf89 Signed-off-by: Patrick Georgi patrick@georgi-clan.de Reviewed-on: http://review.coreboot.org/6594 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich rminnich@gmail.com
See http://review.coreboot.org/6594 for details.
-gerrit