Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dosfs: Fix msdos_dir_read() | Sebastian Huber | 2017-09-06 | 1 | -27/+28 |
| | | | | | | Set a proper name buffer length for each converter invocation. Close #2987. | ||||
* | dosfs: Fix file name search | Sebastian Huber | 2017-03-21 | 1 | -17/+7 |
| | | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Close #2939. | ||||
* | dosfs: Fix race condition msdos_dir_read() | Sebastian Huber | 2017-03-21 | 1 | -5/+5 |
| | | | | | | Obtain file system instance lock before member access. Close #2937. | ||||
* | dosfs: Rename fat_entries to lfn_entries | Sebastian Huber | 2017-03-21 | 1 | -20/+20 |
| | | | | | The name "fat_entries" for long file name directory entries is quite misleading. | ||||
* | dosfs: Fix long file name padding | Sebastian Huber | 2017-03-21 | 1 | -3/+3 |
| | | | | Close #2934. | ||||
* | dosfs: msdos_filename_utf8_to_short_name_for_save | Sebastian Huber | 2017-03-21 | 1 | -15/+10 |
| | | | | Simplify. | ||||
* | dosfs: Fix msdos_add_file() | Sebastian Huber | 2017-03-21 | 1 | -245/+155 |
| | | | | | | Make sure that long file names work accross cluster boundaries. Close #2929. | ||||
* | dosfs: Simplify msdos_add_file() | Sebastian Huber | 2017-03-21 | 1 | -4/+2 |
| | | | | Update #2929. | ||||
* | dosfs: Add and use msdos_lfn_checksum() | Sebastian Huber | 2017-03-21 | 3 | -22/+25 |
| | | | | Update #2929. | ||||
* | dosfs: Simplify fat_file_open() | Sebastian Huber | 2017-03-21 | 1 | -3/+1 |
| | | | | Update #2929. | ||||
* | dosfs: Simplify msdos_creat_node() | Sebastian Huber | 2017-03-21 | 1 | -21/+14 |
| | | | | Update #2929. | ||||
* | dosfs: Fix fat_file_write() | Sebastian Huber | 2017-03-21 | 3 | -30/+11 |
| | | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Close #2622. | ||||
* | dosfs: Fix msdos_utf8_normalize_and_fold() | Sebastian Huber | 2017-03-21 | 1 | -2/+2 |
| | | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Close #2928. | ||||
* | dosfs: Fix FAT32 formatter | Sebastian Huber | 2017-02-28 | 1 | -2/+2 |
| | | | | | | | | | The second FAT entry contains a bit to indicate if the FAT32 filesystem is not dirty and a bit to indicate if there was no IO error. Set both bits for a fresh filesystem. This prevents a warning if mounted on Windows. Update #2913. | ||||
* | dosfs: Directories should have a file size of 0 | Sebastian Huber | 2017-02-28 | 1 | -1/+6 |
| | | | | Update #2755. | ||||
* | Remove old CVS keywords | Nick Withers | 2017-02-15 | 2 | -2/+2 |
| | | | | Close #2388. | ||||
* | dosfs: Fix msdos_find_file_in_directory() | Sebastian Huber | 2017-02-14 | 1 | -1/+1 |
| | | | | | | For a filename match the entry must match without anything remaining. Update #2908. | ||||
* | fat: Fix for invalid cluster sizes | Sebastian Huber | 2016-05-20 | 1 | -1/+3 |
| | | | | | | | A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Update #2717. | ||||
* | untar: do not exit with error when created directory already exists. | Pavel Pisa | 2015-11-23 | 1 | -1/+17 |
| | | | | | | | | | | | | | | The problem exists for both RTEMS untar implementations and their variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load(). If filesystem object already exists at extracted directory path then if it is directory, creation is ignored. Attempt to delete/unlink object and make directory is tried for other cases. This simple approach problem reported in ticket fixes #2413. Behavior follows GNU tar and BSD tar practice for directories but much more work is required to achieve full semantics of the full featured tar implementation still. | ||||
* | RFS: Fix resource leak | Sebastian Huber | 2015-10-26 | 1 | -0/+2 |
| | | | | Update #2433. | ||||
* | Respect 2^32 - 1 B NFSv2 maximum file size | Nick Withers | 2015-08-06 | 1 | -3/+45 |
| | | | | closes #2384 | ||||
* | nfsclient: Use an interrupt lock | Sebastian Huber | 2015-06-19 | 1 | -21/+29 |
| | |||||
* | dosfs: avoid buffer-overread. closes #2292. | Gedare Bloom | 2015-05-27 | 1 | -2/+2 |
| | |||||
* | dosfs: Fix warning fix | Sebastian Huber | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | score: Delete Thread_queue_Control::state | Sebastian Huber | 2015-04-23 | 1 | -25/+0 |
| | | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage. | ||||
* | imfs.h: Add cast to remove warning for pointer/integer size mismatch | Joel Sherrill | 2015-03-24 | 1 | -1/+1 |
| | |||||
* | IMFS: NUL-terminate name returned by readdir() | Sebastian Huber | 2015-03-17 | 1 | -2/+5 |
| | |||||
* | cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification | Joel Sherrill | 2015-03-17 | 1 | -2/+2 |
| | |||||
* | IMFS: don't strlen() an unterminated string in IMFS_dir_read(). | Jamie Iles | 2015-03-16 | 1 | -1/+1 |
| | | | | | | | | | a43a3466 (IMFS: Implement variable length node names) introduced a changed to IMFS_jnode_t from being a null terminated string to a separate unterminated string and length. IMFS_dir_read() was still performing a strlen() on this unterminated string though and when doing an 'ls' in the fileio example I saw that some filenames had garbage suffixes. | ||||
* | rfs: cast minor to uintptr_t to truncate explicitly | Gedare Bloom | 2015-03-16 | 1 | -2/+2 |
| | |||||
* | Fix more Doxygen typos | Joel Sherrill | 2015-03-06 | 1 | -3/+2 |
| | |||||
* | Fix a number of minor Doxygen formatting issues | Joel Sherrill | 2015-03-06 | 1 | -5/+5 |
| | |||||
* | dosfs: Fix warnings | Sebastian Huber | 2015-03-05 | 7 | -18/+12 |
| | |||||
* | IMFS: Fix warning | Sebastian Huber | 2015-03-05 | 1 | -1/+1 |
| | |||||
* | IMFS: Include missing header file | Sebastian Huber | 2015-03-05 | 1 | -0/+1 |
| | |||||
* | IMFS: Fix warning | Sebastian Huber | 2015-03-05 | 1 | -1/+1 |
| | |||||
* | IMFS: Fix copy on write for linfiles | Sebastian Huber | 2015-02-20 | 1 | -0/+3 |
| | |||||
* | IMFS: Silence warning | Sebastian Huber | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | IMFS: Implement variable length node names | Sebastian Huber | 2015-02-15 | 5 | -25/+46 |
| | | | | This reduces the average node size and adds more flexibility. | ||||
* | IMFS: Add CONFIGURE_IMFS_DISABLE_READDIR | Sebastian Huber | 2015-02-14 | 6 | -138/+168 |
| | |||||
* | IMFS: Add fine grained configuration | Sebastian Huber | 2015-02-12 | 6 | -183/+7 |
| | | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME. | ||||
* | IMFS: Allow static initialization of FS info | Sebastian Huber | 2015-02-12 | 6 | -100/+118 |
| | |||||
* | IMFS: Fix resource leak | Sebastian Huber | 2015-02-12 | 1 | -1/+9 |
| | |||||
* | IMFS: Add root directory to FS info | Sebastian Huber | 2015-02-12 | 4 | -88/+69 |
| | | | | Fix memory leak in IMFS_fsunmount(). | ||||
* | IMFS: Simplify IMFS_symlink() | Sebastian Huber | 2015-02-12 | 1 | -26/+7 |
| | |||||
* | IMFS: Split linfile and memfile modules | Sebastian Huber | 2015-02-12 | 4 | -165/+133 |
| | | | | Make several functions static. | ||||
* | IMFS: Introduce IMFS_mknod_control | Sebastian Huber | 2015-02-12 | 16 | -76/+94 |
| | | | | | | Drop IMFS_node_control::node_size field and add node_size parameter to IMFS_allocate_node() and IMFS_create_node(). This reduces the size of generic nodes. | ||||
* | Filesystem: Use ENOTSUP for default mount/unmount | Sebastian Huber | 2015-02-12 | 2 | -2/+2 |
| | |||||
* | Filesystem: Delete unused fsmountme_h handler | Sebastian Huber | 2015-02-09 | 10 | -36/+0 |
| | |||||
* | IMFS: Simplify ino generation | Sebastian Huber | 2015-02-04 | 4 | -5/+7 |
| | | | | | The type of ino_t is unsigned long, so it can store a pointer. Avoid a potential integer overflow. |