From 89e4900115fa5f904ab5b59572e2f6d3b2edd13c Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 17 Dec 2014 10:50:29 +0000 Subject: [PATCH] update devoptab for latest newlib patches --- source/libfat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/libfat.c b/source/libfat.c index 2494759..a8ce7f9 100644 --- a/source/libfat.c +++ b/source/libfat.c @@ -64,8 +64,10 @@ static const devoptab_t dotab_fat = { _FAT_ftruncate_r, _FAT_fsync_r, NULL, /* Device data */ - NULL, - NULL + NULL, // chmod_r + NULL, // fchmod_r + NULL, // rmdir_r + true // stdioUnbuffered; }; bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSector, uint32_t cacheSize, uint32_t SectorsPerPage) {