Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Filesystem: PR1398: Fix lseek() mechanic | Sebastian Huber | 2012-05-11 | 1 | -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(). |