summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-1/+0
|
* Filesystem: Delete node type operationSebastian Huber2015-01-224-82/+10
| | | | Use the fstat handler instead.
* msdos_file.c: Reverse return codes per GedareJoel Sherrill2014-11-271-3/+3
|
* dosfs/msdos_misc.c: Remove unnecessary operationJosh Oguin2014-11-261-1/+1
| | | | | CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point.
* dosfs/msdos_file.c: Return an error if it occursJosh Oguin2014-11-261-1/+4
| | | | | CodeSonar flagged this as a case where the return value from fat_sync() was not used. Now it is used to return pass/fail to the caller.
* dosfs/msdos_conv.c: Remove unnecessary operationsJosh Oguin2014-11-261-3/+2
| | | | | | These were flagged by CodeSonar. The assignments on variable declaration are overridden a few lines below and the other line later with name_size is where name_size was not used after this assignment.
* dosfs/fat_fat_operations.c: Explicitly ignore return (Coverity ID 26048)Joel Sherrill2014-11-211-2/+7
| | | | | | Coverity spotted that the return code from fat_set_fat_cluster() was ignored. But it should be because we want to return the status that caused us to hit the cleanup path.
* dosfs/msdos_format.c: Dead code removal (Coverity ID 1255325)Joel Sherrill2014-11-211-75/+61
| | | | | Coverity identified that ret_val was never set except to be initialized to 0. Thus the code could not be executed.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-4/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* dosfs: Avoid MIN() re-definitionSebastian Huber2014-11-201-0/+2
|
* dosfs: Write meta-data only if it changedSebastian Huber2014-10-233-17/+40
|
* dosfs: Support ctime and mtimeSebastian Huber2014-10-239-133/+170
| | | | | | | Implement ctime and mtime updates according to POSIX. The ctime is mapped to the FAT create time and date. The mtime is mapped to the FAT last modified time and date. For the atime use the mtime for simplicity.
* dosfs: Check error statusSebastian Huber2014-09-111-14/+16
|
* dosfs: Fix read from invalid memory areaSebastian Huber2014-05-161-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2124-24/+24
|
* dosfs/fat.c: Remove use of register keywordJoel Sherrill2014-02-031-1/+1
|
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-202-0/+4
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-202-22/+26
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* statvfs filesystem handlers: Remove restrictJoel Sherrill2013-11-273-10/+10
|
* statvfs and ALL filesystem handlers: Add restrict keyword.Daniel Ramirez2013-11-214-12/+14
|
* dosfs: Ensure initially the sector size is used as bdbuf block sizeRalf Kirchner2013-10-181-0/+9
|
* dosfs: Correct handling of iconv() return valueRalf Kirchner2013-09-101-5/+16
|
* dosfs: Eliminate empty case statements that fall through to default.Gedare Bloom2013-09-051-2/+0
| | | | | | | Also eliminates possibly dead code in case the name_type can never actually be MSDOS_NAME_INVALID. 1063860 Logically dead code.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | Change the type for storing the return from iconv to be signed.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | | Fix the type of "cmpltd" to be ssize_t so that assigning it to -1 will terminate processing as intended.
* dosfs: Unintentional integer overflowGedare Bloom2013-09-051-1/+1
| | | | Explicitly promote 32-bit integer to 64-bits for multiplication.
* dosfs: Use unprotected chain operationsSebastian Huber2013-08-212-4/+4
| | | | This area is protected by the FAT file system instance lock.
* documentation: Fix Doxygen commentsSebastian Huber2013-06-141-11/+11
|
* dosfs: DocumentationSebastian Huber2013-06-071-0/+8
|
* dosfs: DocumentationRalf Kirchner2013-06-031-6/+97
|
* dosfs: UTF-8 Support: Multibyte conversionsRalf Kirchner2013-06-033-10/+339
| | | | | | | | | | | | Add optional conversion methods for multibyte strings. With these conversions which make use of iconv and utf8proc it becomes possible to use strings from any language (Czech, Chinese, Arabian, Hebrew, Corean, ...) for file names and directory names. NOTE: Iconv support must be activated during the build of the tool chain for these conversion methods (options --enable-newlib-iconv --enable-newlib-iconv-encodings=[ENCODINGS_YOU_WANT]). Alternatively you can provide your own conversion methods.
* dosfs: UTF-8 Support: UI, backwards compatibilityRalf Kirchner2013-06-0310-560/+1780
| | | | | | | | | User interface and backwards compatibility for UTF-8 support in the FAT file system. Purpose of UTF-8 support is to permit file names and directory names with characters from all kinds of languages (Czech, Chinese, Arabian, Hebrew, Korean, ...). This commit does not yet support multibyte characters. It only contains the user interface and the backwards compatibility.
* dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCERalf Kirchner2013-05-241-0/+7
|
* dosfs: Fix typoRalf Kirchner2013-05-241-1/+1
|
* dosfs: Add statvfs() supportAndrei Mozzhuhin2013-05-163-1/+79
|
* dosfs: PR2091: Fix warningAndreas Heinig2013-02-271-2/+2
|
* dosfs: PR2092: Delete unused functionAndreas Heinig2013-02-271-32/+0
|
* dosfs: Fix file length updateSebastian Huber2013-02-201-2/+3
|
* dosfs: Start scan with a valid data clusterSebastian Huber2013-02-151-26/+16
| | | | | Simpify the loop. Set last cluster to an undefined value in case no free cluster exists.
* dosfs: Fix file extendSebastian Huber2013-02-151-23/+24
| | | | | | Only append a valid cluster chain (cluster added > 0), otherwise we overwrite the root directory cluster (cluster 0) of a FAT12 or FAT16 with arbitrary data.
* dosfs: Ensure valid data cluster countSebastian Huber2013-02-151-1/+6
|
* dosfs: Always release the buffersSebastian Huber2013-01-301-22/+23
| | | | | Release the buffers also if this is not the last reference to the file object since otherwise we may hold modified data indefinitely.
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-101-1/+1
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* cpukit: Add EOL on files missing EOL at EOFJoel Sherrill2013-01-102-2/+2
|
* libfs: Doxygen Clean Up Task #2Mathew Kallada2013-01-045-35/+69
| | | | | | There were minor conflicts and the modifications that were in the repo were favored over the modifications in the submitted patch.
* libfs: Doxygen Enhancement Task #5Mathew Kallada2012-12-284-15/+33
|
* libfs: Doxygen Enhancement Task #6"Mathew Kallada2012-12-2020-64/+192
|
* dosfs: Avoid error caused by bdbuf configurationSebastian Huber2012-12-141-10/+5
| | | | | | The success of a block size change depends on the bdbuf configuration. Do not treat a failed block size change as a hard error. This is only a missed performance optimization.
* dosfs: Add sync_device option for msdos_format()Sebastian Huber2012-12-132-0/+10
|
* dosfs: Fix error status handlingSebastian Huber2012-12-131-16/+18
|