Commit Graph

213 Commits

Author SHA1 Message Date
Nebuleon Fumika
d59c7c8b35 More correctly handle the case where plain char is signed
In _FAT_directory_lfnLength, the check 'ch < 0x20' incorrectly catches
any extended UTF-8 bytes if the plain 'char' type is signed:

  0x80 < 0x20 ... 0xEF < 0x20

are interpreted as (negative value < 32). The check for 0xF0 and above
also fails to work properly due to 0xF0 being negative as well.
2016-06-19 19:48:48 +00:00
Dave Murphy
cf268b3ecd bump version for next release 2015-11-10 12:22:57 +00:00
Dave Murphy
1e1e9a23dd Merge pull request #1 from FrankHB/patch-1
Removed redundant check
2015-06-01 17:38:46 +01:00
FrankHB
affed015e1 Removed redundant check
`size_t` is guaranteed to be not negative.
2015-06-02 00:34:49 +08:00
Dave Murphy
1e06c677b6 remove unneeded flag 2015-02-02 00:58:13 +00:00
Dave Murphy
ef7a8748e6 fix FAT_setAttr for big endian 2015-01-13 15:11:51 +00:00
Dave Murphy
d6ac947826 fix patching error 2014-12-19 14:09:45 +00:00
Dave Murphy
660461f0f8 bump version for next release 2014-12-17 23:26:07 +00:00
Dave Murphy
38b02152b8 lfn fixes from Patrik Rak 2014-12-17 11:16:32 +00:00
Dave Murphy
89e4900115 update devoptab for latest newlib patches 2014-12-17 10:50:29 +00:00
Dave Murphy
7e8724f158 use limits.h & PATH_MAX 2014-12-15 02:25:36 +00:00
Dave Murphy
b42fdc447c fix FAT_setAttr 2014-12-15 02:21:51 +00:00
Dave Murphy
d468306a18 fix check for null terminator 2014-11-21 17:00:31 +00:00
Dave Murphy
3375e8fc58 use sys/param.h for MAXPATHLEN 2014-04-01 17:50:22 +01:00
Dave Murphy
32967b95eb Merge branch 'master' of ssh://git.code.sf.net/p/devkitpro/libfat 2013-09-06 19:39:17 +01:00
Dave Murphy
7d4e4223db fix libfatversion.h dependency 2013-09-06 11:26:56 +01:00
Dave Murphy
f70322faae bump version 2013-01-04 23:45:49 +00:00
Dave Murphy
24f3899d99 fix dependencies 2013-01-04 23:41:23 +00:00
Dave Murphy
f20e5200a7 Merge branch 'master' of ssh://devkitpro.git.sourceforge.net/gitroot/devkitpro/libfat 2012-12-16 00:23:23 +00:00
mtheall
8ae46ee04f Add hidden interface to support FeOS implementation of multiple cwd.
This interface grabs the pointer to the cwd cluster. This interface
is hidden because it can be very easily used incorrectly. Modifying
the cwd cluster value may cause unexpected results, so use at your
own risk, which includes a corrupted storage medium.
2012-09-14 16:48:11 -05:00
mtheall
2aaf2cfd6f fix finding . and .. entries for root directory 2012-09-13 18:21:00 -05:00
Dave Murphy
b72273e17b fix mixed eols 2012-05-20 15:40:21 +01:00
Dave Murphy
27d818367e ignore generated include folders 2012-05-13 13:10:45 +01:00
Dave Murphy
7712d80786 update copyright dates 2012-05-13 12:21:26 +01:00
Dave Murphy
f6ff332c5c add FAT_setAttr, expose FAT_setAttr/FAT_getAttr and add defines for DOS attributes 2012-05-13 00:24:58 +01:00
Dave Murphy
8829ebdbdb remove generated include folders on clean 2012-05-09 16:49:11 +01:00
Dave Murphy
709c214db2 remove generated include folders from source distribution 2012-05-09 16:48:36 +01:00
Dave Murphy
fc367cd569 ignore distribute folder 2012-05-09 16:46:34 +01:00
Dave Murphy
fab71406b1 use single fat.h in top folder 2012-05-09 16:42:33 +01:00
Dave Murphy
2824c47bd7 add ignores 2012-03-22 13:55:46 +00:00
Dave Murphy
fa2ebe2104 next version will be 1.0.11 2012-02-26 16:20:55 +00:00
Dave Murphy
250ced0be3 get rid of sprintf as per https://sourceforge.net/tracker/?func=detail&aid=3465300&group_id=114505&atid=668553 2012-02-26 16:20:18 +00:00
Dave Murphy
84dd3a491a starting get/set for DOS file attributes 2011-07-10 10:17:05 +00:00
tantricity
151670c8a6 add to svn ignore 2011-07-08 19:43:15 +00:00
Dave Murphy
2c8bd92029 next release will be 1.0.10 2011-06-29 10:08:10 +00:00
Dave Murphy
1bb3bab6e4 cleanup patch - http://sourceforge.net/tracker/?func=detail&aid=3331605&group_id=114505&atid=668553 2011-06-28 20:35:00 +00:00
tantricity
a7307e0c0e case sensitive patch (Extrems) 2011-06-21 03:49:56 +00:00
tantricity
6407426a76 replace another buffer with an allocation (dimok) 2011-06-18 16:01:18 +00:00
tantricity
d5f437723f support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
Dave Murphy
566206a741 bump version 2011-02-01 03:53:00 +00:00
Dave Murphy
907449094b sector buffer in ewram for writing from arm7 (DSi SD fix) 2011-01-28 02:09:07 +00:00
tantricity
93ec6aad6a support to read/write FS info sector for FAT32 partitions. speeds up statvfs. patch submitted by dimok 2011-01-16 19:03:37 +00:00
Dave Murphy
875d47b8f3 update for changes in newlib patches 2011-01-11 12:15:37 +00:00
Dave Murphy
037e22f5f2 adjust nds cache 2011-01-11 12:12:16 +00:00
Dave Murphy
8d8b83e967 revert cache bypass 2011-01-11 12:11:09 +00:00
tantricity
ba3622a4cd only bypass cache fill on write for nds. this is sub-optimal on wii/gc. 2010-11-17 18:44:13 +00:00
zeromus
639836914a another little warning-smashing change i found 2010-10-22 05:05:46 +00:00
zeromus
34e1fb3bad just a tiny warning-smashing change i found laying around in here 2010-10-22 05:03:52 +00:00
Dave Murphy
7f77d19460 last cluster is valid for allocation 2010-10-12 11:36:42 +00:00
Dave Murphy
81110882db correct use of uninitialised variable 2010-10-07 21:53:18 +00:00