Initial directory structure.

git-svn-id: http://exfat.googlecode.com/svn/trunk@1 60bc1c72-a15a-11de-b98f-4500b42dc123
Initial check in.

git-svn-id: http://exfat.googlecode.com/svn/trunk@2 60bc1c72-a15a-11de-b98f-4500b42dc123
Added check of malloc() return value.

git-svn-id: http://exfat.googlecode.com/svn/trunk@3 60bc1c72-a15a-11de-b98f-4500b42dc123
Use exfat_read_raw() instead of high-level exfat_read() to read upcase table. This eliminates initialization of node structure on upcase table reading.

git-svn-id: http://exfat.googlecode.com/svn/trunk@4 60bc1c72-a15a-11de-b98f-4500b42dc123
Added checks for clusters bitmap entry.

git-svn-id: http://exfat.googlecode.com/svn/trunk@5 60bc1c72-a15a-11de-b98f-4500b42dc123
Added check for label entry.

git-svn-id: http://exfat.googlecode.com/svn/trunk@6 60bc1c72-a15a-11de-b98f-4500b42dc123
Return error if entry type is unrecognized.

git-svn-id: http://exfat.googlecode.com/svn/trunk@7 60bc1c72-a15a-11de-b98f-4500b42dc123
Removed char substraction from compare_name(); char comparison logic must be in compare_char().

git-svn-id: http://exfat.googlecode.com/svn/trunk@8 60bc1c72-a15a-11de-b98f-4500b42dc123
Fixed integer underflow in compare_char().

git-svn-id: http://exfat.googlecode.com/svn/trunk@9 60bc1c72-a15a-11de-b98f-4500b42dc123
Path parsing cleanup: now only path component length is limited to 256 chars (this is exFAT limitation), not the whole path.

git-svn-id: http://exfat.googlecode.com/svn/trunk@10 60bc1c72-a15a-11de-b98f-4500b42dc123
Calculate root directory size and represent it.

git-svn-id: http://exfat.googlecode.com/svn/trunk@11 60bc1c72-a15a-11de-b98f-4500b42dc123
Represent zero (i.e. 1 Jan 1970) atime and mtime for the root directory (as Linux does) instead of senseless mount time.

git-svn-id: http://exfat.googlecode.com/svn/trunk@12 60bc1c72-a15a-11de-b98f-4500b42dc123
Fixed time conversion from exFAT to Unix format (exfat_exfat2unix() added extra day).

git-svn-id: http://exfat.googlecode.com/svn/trunk@13 60bc1c72-a15a-11de-b98f-4500b42dc123
Use positive time shift for simplicity.

git-svn-id: http://exfat.googlecode.com/svn/trunk@14 60bc1c72-a15a-11de-b98f-4500b42dc123
Added parentheses to macro definition.

git-svn-id: http://exfat.googlecode.com/svn/trunk@15 60bc1c72-a15a-11de-b98f-4500b42dc123
Use timezone variable instead of gettimeofday() because the latter is obsolete.

git-svn-id: http://exfat.googlecode.com/svn/trunk@16 60bc1c72-a15a-11de-b98f-4500b42dc123
Fixed leap days accounting while converting time from exFAT to Unix format.

git-svn-id: http://exfat.googlecode.com/svn/trunk@17 60bc1c72-a15a-11de-b98f-4500b42dc123
Splitted EPOCH_DIFF_SEC macro into two macros for simplicity.

git-svn-id: http://exfat.googlecode.com/svn/trunk@18 60bc1c72-a15a-11de-b98f-4500b42dc123
Removed commented out debug code.

git-svn-id: http://exfat.googlecode.com/svn/trunk@19 60bc1c72-a15a-11de-b98f-4500b42dc123
Added macro that calculates leap years count passed from exFAT epoch.

git-svn-id: http://exfat.googlecode.com/svn/trunk@20 60bc1c72-a15a-11de-b98f-4500b42dc123