OSDN Git Service

android-x86/external-exfat.git
10 years agoFixed handling of long non-ASCII file names.
resver@gmail.com [Mon, 20 May 2013 16:33:27 +0000 (16:33 +0000)]
Fixed handling of long non-ASCII file names.

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

10 years agoMove platform-specific code into a separate header.
resver@gmail.com [Tue, 14 May 2013 18:41:17 +0000 (18:41 +0000)]
Move platform-specific code into a separate header.

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

11 years agoAllow arbitrary changing of lower 9 bits of mode. Allow owner/group changing to the...
resver@gmail.com [Sat, 20 Apr 2013 10:34:48 +0000 (10:34 +0000)]
Allow arbitrary changing of lower 9 bits of mode. Allow owner/group changing to the same owner/group. Remove "quiet" option.

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

11 years agoFixed grammar in mount.exfat-fuse manpage.
resver@gmail.com [Sat, 20 Apr 2013 10:14:22 +0000 (10:14 +0000)]
Fixed grammar in mount.exfat-fuse manpage.

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

11 years agoAdded "quiet" option that makes chmod() and chown() always succeed. Useful for applic...
resver@gmail.com [Sat, 20 Apr 2013 10:01:24 +0000 (10:01 +0000)]
Added "quiet" option that makes chmod() and chown() always succeed. Useful for applications that fail if chmod() or chown() is not implemented.

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

11 years agoAllow -v option for compatibility with mount utility (it passes -v to its helpers).
resver@gmail.com [Fri, 29 Mar 2013 06:38:16 +0000 (06:38 +0000)]
Allow -v option for compatibility with mount utility (it passes -v to its helpers).

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

11 years agoUse getopt() for options parsing.
resver@gmail.com [Fri, 29 Mar 2013 06:29:10 +0000 (06:29 +0000)]
Use getopt() for options parsing.

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

11 years agoUse -V instead of -v option to print version for consistency with other utilities.
resver@gmail.com [Thu, 28 Mar 2013 16:51:12 +0000 (16:51 +0000)]
Use -V instead of -v option to print version for consistency with other utilities.

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

11 years agoAllow -n option for automount/autofs compatibility.
resver@gmail.com [Mon, 18 Mar 2013 18:37:25 +0000 (18:37 +0000)]
Allow -n option for automount/autofs compatibility.

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

11 years agoAvoid extra erase on writes to the end of a file.
resver@gmail.com [Tue, 26 Feb 2013 18:58:36 +0000 (18:58 +0000)]
Avoid extra erase on writes to the end of a file.

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

11 years agoAdd fsname parameter as is, without canonicalization and symbolic links expansion...
resver [Wed, 13 Feb 2013 16:41:44 +0000 (16:41 +0000)]
Add fsname parameter as is, without canonicalization and symbolic links expansion. This fixes TrueCrypt disks unmounting.

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

11 years agoUse bool type.
resver [Sun, 10 Feb 2013 21:04:01 +0000 (21:04 +0000)]
Use bool type.

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

11 years agoMade next_entry() function static.
resver [Sat, 26 Jan 2013 06:42:13 +0000 (06:42 +0000)]
Made next_entry() function static.

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

11 years agoFixed unexpected removal of a directory if it is moved into itself: return EINVAL...
resver [Fri, 25 Jan 2013 19:07:05 +0000 (19:07 +0000)]
Fixed unexpected removal of a directory if it is moved into itself: return EINVAL in this situation. It also happens when trying to change directory name case.

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

11 years agoFixed "Operation not permitted" error on reading an empty file: FUSE read/write ops...
resver [Fri, 25 Jan 2013 17:46:10 +0000 (17:46 +0000)]
Fixed "Operation not permitted" error on reading an empty file: FUSE read/write ops should return a number of bytes actually read/written or -errno on error.

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

11 years agoBumped version to 1.0.0 and updated changelog.
resver [Sat, 19 Jan 2013 13:45:41 +0000 (13:45 +0000)]
Bumped version to 1.0.0 and updated changelog.

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

11 years agoUpdated copyright years.
resver [Sat, 19 Jan 2013 13:11:28 +0000 (13:11 +0000)]
Updated copyright years.

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

11 years agoFixed clusters allocation: a cluster beyond valid clusters range could be allocated.
resver [Mon, 14 Jan 2013 18:54:42 +0000 (18:54 +0000)]
Fixed clusters allocation: a cluster beyond valid clusters range could be allocated.

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

11 years agoAvoid using PATH_MAX constant.
resver [Fri, 11 Jan 2013 07:31:16 +0000 (07:31 +0000)]
Avoid using PATH_MAX constant.

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

11 years agoOS X: disable permission checks made by FUSE.
resver [Fri, 11 Jan 2013 06:42:18 +0000 (06:42 +0000)]
OS X: disable permission checks made by FUSE.

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

11 years agoRemoved duplicate code in reset_cache(): now it uses tree_detach() to remove children...
resver [Thu, 10 Jan 2013 17:09:43 +0000 (17:09 +0000)]
Removed duplicate code in reset_cache(): now it uses tree_detach() to remove children from the list and the whole tree is consistent at any iteration.

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

11 years agoMoved tree_attach() and tree_detach() upper so that they could be used by reset_cache().
resver [Thu, 10 Jan 2013 17:00:27 +0000 (17:00 +0000)]
Moved tree_attach() and tree_detach() upper so that they could be used by reset_cache().

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

11 years agoFixed extra decrement of reference counter of hanging nodes.
resver [Wed, 9 Jan 2013 17:50:14 +0000 (17:50 +0000)]
Fixed extra decrement of reference counter of hanging nodes.

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

11 years agoFixed cleaning of libexfat broken in r312.
resver [Wed, 9 Jan 2013 17:29:32 +0000 (17:29 +0000)]
Fixed cleaning of libexfat broken in r312.

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

11 years agoGet PATH and SYSROOT variables from environment if they are defined.
resver [Wed, 9 Jan 2013 16:58:00 +0000 (16:58 +0000)]
Get PATH and SYSROOT variables from environment if they are defined.

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

11 years agoRespect AR and RANLIB environment variables in SConscript.
resver [Wed, 9 Jan 2013 16:54:08 +0000 (16:54 +0000)]
Respect AR and RANLIB environment variables in SConscript.

Signed-off-by: <vapier@gmail.com>
git-svn-id: http://exfat.googlecode.com/svn/trunk@323 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoSeek to the beginning of the device after detecting its size (dumpexfat relies on...
resver [Sat, 29 Dec 2012 08:01:07 +0000 (08:01 +0000)]
Seek to the beginning of the device after detecting its size (dumpexfat relies on this).

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

11 years agoPrint device name in the error message.
resver [Sat, 29 Dec 2012 07:55:29 +0000 (07:55 +0000)]
Print device name in the error message.

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

11 years agoFixed indentation.
resver [Wed, 26 Dec 2012 07:26:48 +0000 (07:26 +0000)]
Fixed indentation.

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

11 years agoImproved trace macros.
resver [Wed, 26 Dec 2012 07:14:07 +0000 (07:14 +0000)]
Improved trace macros.

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

11 years agoEnabled big_writes. This improves write speed (larger block size means less switches...
resver [Tue, 25 Dec 2012 17:50:04 +0000 (17:50 +0000)]
Enabled big_writes. This improves write speed (larger block size means less switches between kernel- and user-space).

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

11 years agoFUSE read and write ops should return either buffer size on success or EOF otherwise.
resver [Tue, 25 Dec 2012 16:58:23 +0000 (16:58 +0000)]
FUSE read and write ops should return either buffer size on success or EOF otherwise.

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

11 years agoFixed exfat_generic_pwrite(): it should return -1 on error, not -errno.
resver [Tue, 25 Dec 2012 16:55:13 +0000 (16:55 +0000)]
Fixed exfat_generic_pwrite(): it should return -1 on error, not -errno.

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

11 years agoReplace fixed PATH to the value from environment. This makes scons find build tools...
resver [Wed, 19 Dec 2012 06:30:24 +0000 (06:30 +0000)]
Replace fixed PATH to the value from environment. This makes scons find build tools in non-standard directories specified in PATH.

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

11 years agoCheck compiler presense in SConscript.
resver [Wed, 19 Dec 2012 06:19:14 +0000 (06:19 +0000)]
Check compiler presense in SConscript.

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

11 years agoCheck size of off_t type in SConscript.
resver [Tue, 18 Dec 2012 18:42:39 +0000 (18:42 +0000)]
Check size of off_t type in SConscript.

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

11 years agoDo not configure when cleaning.
resver [Tue, 18 Dec 2012 18:17:01 +0000 (18:17 +0000)]
Do not configure when cleaning.

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

11 years agoRemove symlinks on cleaning the install alias.
resver [Tue, 18 Dec 2012 18:06:17 +0000 (18:06 +0000)]
Remove symlinks on cleaning the install alias.

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

11 years agoFixed crash in exfat_rename() when renaming a file within a single directory and...
resver [Sat, 15 Dec 2012 08:51:09 +0000 (08:51 +0000)]
Fixed crash in exfat_rename() when renaming a file within a single directory and a new name differs only in case.

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

11 years agoOS X: fixed raw device size detection. Each disk has two names: /dev/diskN (block...
resver [Sat, 15 Dec 2012 08:45:00 +0000 (08:45 +0000)]
OS X: fixed raw device size detection. Each disk has two names: /dev/diskN (block device) and /dev/rdiskN (raw device).

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

11 years agoUse bool type.
resver [Wed, 12 Dec 2012 19:16:42 +0000 (19:16 +0000)]
Use bool type.

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

11 years agoOS X: correctly detect device size.
resver [Wed, 12 Dec 2012 19:14:36 +0000 (19:14 +0000)]
OS X: correctly detect device size.

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

11 years agoRenamed exfat_mode() to exfat_get_mode().
resver [Tue, 11 Dec 2012 16:46:55 +0000 (16:46 +0000)]
Renamed exfat_mode() to exfat_get_mode().

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

11 years agoRemoved extra include.
resver [Tue, 11 Dec 2012 16:45:27 +0000 (16:45 +0000)]
Removed extra include.

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

11 years agoCheck file size after all name entries are parsed and print file name in case of...
resver [Sat, 8 Dec 2012 12:32:33 +0000 (12:32 +0000)]
Check file size after all name entries are parsed and print file name in case of error.

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

11 years agoDo not print directory name on size check failure because name is not yet available.
resver [Sat, 8 Dec 2012 11:53:58 +0000 (11:53 +0000)]
Do not print directory name on size check failure because name is not yet available.

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

11 years agoUse bool type.
resver [Sat, 8 Dec 2012 11:51:34 +0000 (11:51 +0000)]
Use bool type.

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

11 years agoOS X: set deployment target to Mac OS X 10.5 Leopard.
resver [Sat, 8 Dec 2012 11:46:15 +0000 (11:46 +0000)]
OS X: set deployment target to Mac OS X 10.5 Leopard.

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

11 years agoOn Linux do BLKROGET ioctl to make sure the device is not read-only: after "blockdev...
resver [Tue, 4 Dec 2012 19:17:52 +0000 (19:17 +0000)]
On Linux do BLKROGET ioctl to make sure the device is not read-only: after "blockdev --setro" kernel still allows to open the device in read-write mode but fails writes.

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

11 years agoRefactored device access mode handling.
resver [Tue, 4 Dec 2012 18:34:01 +0000 (18:34 +0000)]
Refactored device access mode handling.

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

11 years agoOS X support:
resver [Tue, 4 Dec 2012 16:34:03 +0000 (16:34 +0000)]
OS X support:
 - use proper macro for inode numbers bitness management;
 - switch to 64-bit inode numbers (this requires Mac OS X 10.5 or later);
 - switch from unmaintained MacFUSE to OSXFUSE (http://osxfuse.github.com).

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

11 years agoOS X utilities report error if fchmod() fails. Added empty chmod() handler as a worka...
resver [Tue, 4 Dec 2012 16:14:38 +0000 (16:14 +0000)]
OS X utilities report error if fchmod() fails. Added empty chmod() handler as a workaround.

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

11 years agoImproved invalid clusters handling.
resver [Sun, 25 Nov 2012 12:03:51 +0000 (12:03 +0000)]
Improved invalid clusters handling.

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

11 years agoReorganized directories checking: check directory before its files, do not check...
resver [Sat, 24 Nov 2012 09:36:35 +0000 (09:36 +0000)]
Reorganized directories checking: check directory before its files, do not check files if directory is corrupt, check root directory.

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

11 years agoImproved error handling.
resver [Sun, 28 Oct 2012 15:14:25 +0000 (15:14 +0000)]
Improved error handling.

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

11 years agoBumped version to 0.9.8 and updated changelog.
resver [Thu, 9 Aug 2012 17:09:46 +0000 (17:09 +0000)]
Bumped version to 0.9.8 and updated changelog.

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

11 years agoAvoid integer truncation.
resver [Sat, 9 Jun 2012 18:32:49 +0000 (18:32 +0000)]
Avoid integer truncation.

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

11 years agoFixed erasing of label buffer.
resver [Sat, 9 Jun 2012 18:28:22 +0000 (18:28 +0000)]
Fixed erasing of label buffer.

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

11 years agoThe new mkfs rewritten in more declarative style.
resver [Sat, 2 Jun 2012 06:14:13 +0000 (06:14 +0000)]
The new mkfs rewritten in more declarative style.

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

11 years agoExplicitly require C99 and define _GNU_SOURCE to enable all needed functions.
resver [Fri, 18 May 2012 16:05:13 +0000 (16:05 +0000)]
Explicitly require C99 and define _GNU_SOURCE to enable all needed functions.

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

11 years agoDefine FUSE_USE_VERSION only before inclusion of fuse.h, no need to define it globally.
resver [Fri, 18 May 2012 15:52:30 +0000 (15:52 +0000)]
Define FUSE_USE_VERSION only before inclusion of fuse.h, no need to define it globally.

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

11 years agoFixed _FILE_OFFSET_BITS check for the case when it is not defined at all.
resver [Fri, 18 May 2012 15:45:38 +0000 (15:45 +0000)]
Fixed _FILE_OFFSET_BITS check for the case when it is not defined at all.

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

11 years agoFixed copyright years in SConscript.
resver [Fri, 18 May 2012 15:42:49 +0000 (15:42 +0000)]
Fixed copyright years in SConscript.

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

11 years agoRespect CPPFLAGS environment variable in SConscript.
resver [Thu, 17 May 2012 16:32:08 +0000 (16:32 +0000)]
Respect CPPFLAGS environment variable in SConscript.

Signed-off-by: Sven Hoexter <sven@timegate.de>
git-svn-id: http://exfat.googlecode.com/svn/trunk@284 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed handling of characters beyond BMP: UTF-16 surrogate pairs encode Unicode charac...
resver [Mon, 14 May 2012 17:24:02 +0000 (17:24 +0000)]
Fixed handling of characters beyond BMP: UTF-16 surrogate pairs encode Unicode character minus 0x10000.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
git-svn-id: http://exfat.googlecode.com/svn/trunk@283 60bc1c72-a15a-11de-b98f-4500b42dc123

11 years agoFixed file name in heading.
resver [Mon, 7 May 2012 07:32:43 +0000 (07:32 +0000)]
Fixed file name in heading.

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

12 years agoFix copyright years.
resver [Tue, 1 May 2012 09:46:02 +0000 (09:46 +0000)]
Fix copyright years.

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

12 years agoEcho messages to syslog only if stderr is not connected to a terminal.
resver [Tue, 3 Apr 2012 17:52:49 +0000 (17:52 +0000)]
Echo messages to syslog only if stderr is not connected to a terminal.

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

12 years agoSuggest valid cluster size if user specified too small value.
resver [Mon, 19 Mar 2012 17:27:34 +0000 (17:27 +0000)]
Suggest valid cluster size if user specified too small value.

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

12 years agoSelect suitable cluster size when creating a huge FS (128 TB or more).
resver [Mon, 19 Mar 2012 17:12:00 +0000 (17:12 +0000)]
Select suitable cluster size when creating a huge FS (128 TB or more).

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

12 years agoFail to create FS if specified cluster size is too small.
resver [Sun, 18 Mar 2012 13:24:37 +0000 (13:24 +0000)]
Fail to create FS if specified cluster size is too small.

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

12 years agoAdded constant for the last possible valid cluster number.
resver [Sun, 18 Mar 2012 13:05:04 +0000 (13:05 +0000)]
Added constant for the last possible valid cluster number.

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

12 years agoFixed huge sizes formatting.
resver [Sun, 18 Mar 2012 13:02:49 +0000 (13:02 +0000)]
Fixed huge sizes formatting.

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

12 years agoBumped version to 0.9.7 and updated changelog.
resver [Thu, 8 Mar 2012 07:28:21 +0000 (07:28 +0000)]
Bumped version to 0.9.7 and updated changelog.

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

12 years agoFixed format warnings produced by clang.
resver [Sun, 4 Mar 2012 07:39:49 +0000 (07:39 +0000)]
Fixed format warnings produced by clang.

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

12 years agoCorrected error message about device type.
resver [Sun, 4 Mar 2012 07:37:43 +0000 (07:37 +0000)]
Corrected error message about device type.

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

12 years agoAdded ublio support for FreeBSD.
resver [Sun, 4 Mar 2012 07:04:53 +0000 (07:04 +0000)]
Added ublio support for FreeBSD.

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

12 years agoUse a list of libraries in SConscript.
resver [Sat, 3 Mar 2012 18:11:09 +0000 (18:11 +0000)]
Use a list of libraries in SConscript.

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

12 years agoRepresent device as an extensible structure instead of a plain Unix descriptor.
resver [Sat, 3 Mar 2012 07:39:07 +0000 (07:39 +0000)]
Represent device as an extensible structure instead of a plain Unix descriptor.

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

12 years agoSupport building on FreeBSD.
resver [Sat, 3 Mar 2012 06:53:02 +0000 (06:53 +0000)]
Support building on FreeBSD.

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

12 years agoMoved platform-specific configuration code after common.
resver [Sat, 3 Mar 2012 06:16:08 +0000 (06:16 +0000)]
Moved platform-specific configuration code after common.

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

12 years agoFixed use of write() missed in r262.
resver [Thu, 1 Mar 2012 17:23:04 +0000 (17:23 +0000)]
Fixed use of write() missed in r262.

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

12 years agoAdded exfat_seek() interface (wrapper for lseek()).
resver [Thu, 1 Mar 2012 17:01:44 +0000 (17:01 +0000)]
Added exfat_seek() interface (wrapper for lseek()).

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

12 years agoFixed double close on failure to convert volume label to UTF-16.
resver [Mon, 20 Feb 2012 06:33:08 +0000 (06:33 +0000)]
Fixed double close on failure to convert volume label to UTF-16.

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

12 years agoUse exfat_read() and exfat_write() interfaces.
resver [Mon, 20 Feb 2012 06:15:49 +0000 (06:15 +0000)]
Use exfat_read() and exfat_write() interfaces.

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

12 years agoAdded exfat_read() and exfat_write() interfaces (currently just wrappers for read...
resver [Mon, 20 Feb 2012 06:14:18 +0000 (06:14 +0000)]
Added exfat_read() and exfat_write() interfaces (currently just wrappers for read() and write()).

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

12 years agoUse appropriate feature test macro to enable pread() and pwrite() declarations.
resver [Tue, 14 Feb 2012 18:09:51 +0000 (18:09 +0000)]
Use appropriate feature test macro to enable pread() and pwrite() declarations.

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

12 years agoAdded exfat_fsync() function that performs fsync against the specified descriptor.
resver [Tue, 14 Feb 2012 18:05:59 +0000 (18:05 +0000)]
Added exfat_fsync() function that performs fsync against the specified descriptor.

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

12 years agoAdded exfat_close() function that closes the device descriptor.
resver [Tue, 14 Feb 2012 17:53:17 +0000 (17:53 +0000)]
Added exfat_close() function that closes the device descriptor.

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

12 years agoRenamed read/write functions:
resver [Sun, 12 Feb 2012 07:49:26 +0000 (07:49 +0000)]
Renamed read/write functions:

exfat_read_raw()  => exfat_pread()
exfat_write_raw() => exfat_pwrite()
exfat_read()      => exfat_generic_pread()
exfat_write()     => exfat_generic_pwrite()

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

12 years agoFixed mtime centiseconds field initialization for newly created file/directory.
resver [Sat, 4 Feb 2012 08:07:17 +0000 (08:07 +0000)]
Fixed mtime centiseconds field initialization for newly created file/directory.

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

12 years agoUse a more portable way to obtain timezone offset.
resver [Sat, 4 Feb 2012 08:02:08 +0000 (08:02 +0000)]
Use a more portable way to obtain timezone offset.

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

12 years agoMoved time-related stuff into a separate file.
resver [Thu, 2 Feb 2012 20:36:17 +0000 (20:36 +0000)]
Moved time-related stuff into a separate file.

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

12 years agoRemove _XOPEN_SOURCE define since it looks to be not required for Linux.
resver [Wed, 1 Feb 2012 17:30:16 +0000 (17:30 +0000)]
Remove _XOPEN_SOURCE define since it looks to be not required for Linux.

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

12 years agoPut _XOPEN_SOURCE define before any includes as recommended in documentation.
resver [Tue, 31 Jan 2012 16:06:37 +0000 (16:06 +0000)]
Put _XOPEN_SOURCE define before any includes as recommended in documentation.

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

12 years agoFixed minutes field extraction.
resver [Tue, 31 Jan 2012 16:00:58 +0000 (16:00 +0000)]
Fixed minutes field extraction.

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

12 years agoIncreased comments indentation.
resver [Tue, 31 Jan 2012 15:57:52 +0000 (15:57 +0000)]
Increased comments indentation.

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

12 years agoRemoved obsolete FIXME comment.
resver [Sun, 29 Jan 2012 10:14:45 +0000 (10:14 +0000)]
Removed obsolete FIXME comment.

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

12 years agoRemoved obsolete FIXME comment.
resver [Sun, 29 Jan 2012 10:11:43 +0000 (10:11 +0000)]
Removed obsolete FIXME comment.

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

12 years agoAdded default compiler flags for clang.
resver [Sun, 29 Jan 2012 08:50:52 +0000 (08:50 +0000)]
Added default compiler flags for clang.

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