Commit Graph

29 Commits

Author SHA1 Message Date
Dave Murphy
73ccaec815 match newlib
ensure max filename length matches newlib
2016-12-20 20:07:08 +00:00
Dave Murphy
d6ac947826 fix patching error 2014-12-19 14:09:45 +00:00
Dave Murphy
38b02152b8 lfn fixes from Patrik Rak 2014-12-17 11:16:32 +00:00
Dave Murphy
d468306a18 fix check for null terminator 2014-11-21 17:00:31 +00:00
mtheall
2aaf2cfd6f fix finding . and .. entries for root directory 2012-09-13 18:21:00 -05: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
d5f437723f support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
tantricity
571d57ee0a fix volume label bug (rodries) 2010-09-18 17:56:47 +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
Dave Murphy
488d832012 make LFN tables static 2009-06-11 00:47:38 +00:00
Dave Murphy
22f3dea64f short aliases aren't multibyte
zero terminate generated alias
2009-06-02 13:40:14 +00:00
Michael Chisholm
2cc2cc2e39 Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc).
Changed read/write functions to use size_t and seek function to use off_t -- will help on 64 bit platforms.
Partitions no longer specified by fat1:/, fat2:/, etc.
Use "nice" device names. On GBA/NDS the default partition is still fat:/; however on Wii and GC sd:/, usb:/, etc. are used instead.
Added fsync and ftruncate functions.
Mount and unmount no longer startup/shutdown the device, this is the job of the host app.
Mount now accepts a partition start parameter.
Used standard types, eg uint32_t instead of u32.
Archive bit is set when closing/synchronizing a modified file.
Various minor bug fixes.
2008-11-20 05:22:28 +00:00
Michael Chisholm
bfb4d60d1f Don't read high 16 bits of start cluster from a directory entry on non-FAT32 partititions, in case it contains non-zero data 2008-09-08 08:28:17 +00:00
Michael Chisholm
c01d5f3e69 Correct cluster given on FAT32 when .. entry is included in path to subdirectory.
Fixed creation of long filename entry for all-caps filenames longer than 8 characters.
2008-08-02 04:22:47 +00:00
Michael Chisholm
64012781ef Fixed LFN creation with character codes > 0x7F 2007-11-16 10:49:52 +00:00
Michael Chisholm
62745e4b21 Fixed alias creation bugs 2007-11-04 09:52:39 +00:00
Michael Chisholm
9deb154adb Added unicode support 2007-11-01 06:00:30 +00:00
Michael Chisholm
8cfa906c22 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-09-01 07:55:38 +00:00
Michael Chisholm
4a0c7c4046 Added space to list of illegal alias characters - fixes filename creation bug when filename contained a space 2007-04-22 07:34:18 +00:00
Michael Chisholm
4191c6de84 Check long file names for buffer overflow 2007-03-14 10:51:45 +00:00
Michael Chisholm
43f90657e3 stat returns the hostType for the st_dev value 2006-10-28 07:38:31 +00:00
Michael Chisholm
8956d40bc1 Now clears the whole cluster when creating or extending a directory, bug found by Hermes 2006-09-30 16:00:01 +00:00
Michael Chisholm
9c7ddccd44 Fixed entryFromPath bug when looking for "." in root directory 2006-08-19 03:37:35 +00:00
Michael Chisholm
1a5766fbd3 entryFromPath doesn't look for "" anymore - use "." to refer to the current directory 2006-08-17 13:49:59 +00:00
Michael Chisholm
247b640036 entryFromPath correctly finds "" and "." now 2006-08-14 11:49:30 +00:00
Michael Chisholm
9077692f45 Fixed problem that got wrong fstat when creating a new file at the end of a directory 2006-07-26 11:11:47 +00:00
Michael Chisholm
cc64edfab8 Initial import into devkitpro CVS. 2006-07-14 02:42:37 +00:00