Commit Graph

228 Commits

Author SHA1 Message Date
Dave Murphy
e7b04a73a0 update version for release 2017-09-28 22:51:41 +01:00
Dave Murphy
ba3d6db43d move get_io_dsisd to libnds 2017-09-25 18:24:04 +01:00
Dave Murphy
e254127aa3 consolidate MBR check 2017-09-25 15:04:46 +01:00
Dave Murphy
66a9b27dc0 check for running DSi app too 2017-09-25 14:42:28 +01:00
Dave Murphy
b650b070ba update version 2017-07-31 14:46:33 +01:00
Dave Murphy
42fe5af38d update FAT32 FSINFO for statvfs if invalid 2017-07-31 14:45:57 +01:00
Dave Murphy
bc9f4c893a bump version for release 2017-01-17 09:32:59 +00:00
fincs
b7450524b1 Avoid using DSi SD interface in NDS mode 2017-01-17 09:32:58 +00:00
fincs
78ca2bd297 Add dead code elimination options 2017-01-17 09:32:57 +00:00
Dave Murphy
9e2f91dee6 devkitARM r46 updates 2017-01-17 09:32:57 +00:00
Dave Murphy
d4926573ac Merge pull request #9 from Nebuleon/patch
An unsigned char fix and an errno change
2016-12-22 04:40:39 +00:00
Dave Murphy
73ccaec815 match newlib
ensure max filename length matches newlib
2016-12-20 20:07:08 +00:00
Dave Murphy
abde1cb73b verbose install 2016-12-20 20:04:33 +00:00
Nebuleon Fumika
b7c4d38b32 Don't set errno at the end of a directory if no error occurred
In _FAT_dirnext, which implements a function similar to readdir, don't
set errno to ENOENT, because reaching the end of a directory is not an
error. This conforms to POSIX readdir and is consistent with _FAT_read
not setting errno when reaching EOF.
2016-06-20 07:19:37 +00:00
Nebuleon Fumika
3fde6ce161 Set errno to ENOTEMPTY when removing a non-empty directory
The value that was previously set, EPERM, implies that the user didn't
have the (write) permission to remove the directory.
2016-06-19 19:58:02 +00:00
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