From 7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Oct 2012 07:17:38 +0000 Subject: [PATCH] Fixed bug 3579660. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4781 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chfiles.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/kernel/include/chfiles.h b/os/kernel/include/chfiles.h index 4d2192eec..03313d13a 100644 --- a/os/kernel/include/chfiles.h +++ b/os/kernel/include/chfiles.h @@ -134,7 +134,7 @@ typedef struct { * * @api */ -#define chFileStreamGetSize(ip) ((ip)->vmt->getposition(ip)) +#define chFileStreamGetSize(ip) ((ip)->vmt->getsize(ip)) /** * @brief Returns the current file pointer position. diff --git a/readme.txt b/readme.txt index 9b91d0786..cd574ee30 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,8 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed bug in abstract file interface (bug 3579660)(backported to + 2.2.10 and 2.4.3). - FIX: Fixed wrong type for UART config registers (bug 3579434). - FIX: Fixed various typos and wrong limits in the STM32F4/F2 HAL driver (bug 3578944)(backported to 2.4.3).