aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:17:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:17:38 +0000
commit7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561 (patch)
tree3ce263b45cdc823709482cac482083cf623c8592
parentdc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae (diff)
downloadChibiOS-7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561.tar.gz
ChibiOS-7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561.tar.bz2
ChibiOS-7ea2ed1e47ae76ff81dbbe1e9494cf7eca6fb561.zip
Fixed bug 3579660.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4781 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/kernel/include/chfiles.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
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).