summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/defaults/default_lseek_directory.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem: PR1398: Fix lseek() mechanicSebastian Huber2012-05-111-0/+37
According to POSIX the lseek() function shall not, by itself, extend the size of a file. Remove the size field of rtems_libio_t. A file has only one size but may have multiple open file descriptors. Thus a file size field in the file descriptor may lead to inconsistencies. New default handlers rtems_filesystem_default_lseek_file() and rtems_filesystem_default_lseek_directory().