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
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
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
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
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
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
tantricity
571d57ee0a
fix volume label bug (rodries)
2010-09-18 17:56:47 +00:00
tantricity
d5702c9f29
better check for devoptab name
2010-09-04 07:15:56 +00:00
Dave Murphy
5f29cee9cb
remove bogus FAT check
2010-09-03 18:52:49 +00:00
Dave Murphy
247aa36062
avoid buffer overflow
2010-09-03 18:49:11 +00:00
tantricity
eb73138455
minor changes
2010-06-26 19:33:19 +00:00
tantricity
9b55efe66d
fix
2010-06-19 08:12:39 +00:00
tantricity
77fecb0cd9
check if devoptab exists. if yes, return false.
2010-06-18 23:40:44 +00:00
Dave Murphy
fd85021971
add overridable locking functions
2010-05-16 11:17:43 +00:00
Dave Murphy
5d0cd6bc7c
add new elements for devkitARM r29, use internal deallocaters
2010-03-21 11:09:34 +00:00
Dave Murphy
cc78aaf803
remove functions we're not adding after all
2010-03-21 11:07:48 +00:00
Dave Murphy
f239c20c79
remove pointless extern qualifiers
2010-03-21 11:06:53 +00:00
Dave Murphy
0f96214202
use internal allocator
2010-02-11 10:08:16 +00:00
Dave Murphy
79e3dc0948
applied http://sourceforge.net/support/tracker.php?aid=2885644
2009-10-27 00:55:26 +00:00
tantricity
7f77159f6a
fix volume label check
2009-10-21 22:06:27 +00:00
tantricity
a8ed97403b
added fatGetVolumeLabel (rodries)
2009-10-17 20:29:48 +00:00
tantricity
9f7c3edc44
correct mixed line endings
2009-10-17 18:59:17 +00:00
tantricity
3b6561d4ca
do not shut down the interface on unmount. other partitons (fat, ntfs, etc) may still be mounted on the device!
2009-10-16 21:38:51 +00:00
Dave Murphy
bf2d7d1130
bypass cache fill on write
2009-10-07 19:54:16 +00:00
Dave Murphy
b7dcf2ce33
fix cluster over allocation, skip cluster alignment write if already aligned
2009-10-07 19:48:51 +00:00
Dave Murphy
18d059aaec
don't limit sectors on DS
2009-10-07 19:46:09 +00:00
Dave Murphy
6cb8909dc8
correct typo
2009-10-06 20:27:38 +00:00
tantricity
d09577c51a
find the first valid fat partition (rodries)
2009-06-30 08:01:04 +00:00
tantricity
8ad45f1556
clean
2009-06-30 07:54:49 +00:00
tantricity
38528ce18f
correct line endings
2009-06-30 07:48:29 +00:00
Dave Murphy
aa7a8929ee
removed commented test code
2009-06-11 00:48:34 +00:00