summaryrefslogtreecommitdiff
path: root/firmware/common/file.c
AgeCommit message (Expand)Author
2003-06-19Slightly better handling of disk-full situationsLinus Nielsen Feltzing
2003-04-15Update fileoffset and cacheoffset on error.Björn Stenberg
2003-03-18Added the filesize() functionLinus Nielsen Feltzing
2003-03-15Previous change broke read after seek. Reverted that change and added tempor...Hardeep Sidhu
2003-03-14Make sure we are on correct sector after lseek. This fixes the queue file co...Hardeep Sidhu
2003-03-12flush_cache() failure should still return error.Björn Stenberg
2003-03-12Bug fix: If head bytes were read but sector read failed, return head byte cou...Björn Stenberg
2003-03-10Killed compiling error on debug buildsLinus Nielsen Feltzing
2003-03-10Killed a warningLinus Nielsen Feltzing
2003-03-10Zagor added the flush() functionLinus Nielsen Feltzing
2003-02-26rename() didn't close the file if the target name exists, and didn't return a...Linus Nielsen Feltzing
2003-02-22Lame debug outputLinus Nielsen Feltzing
2003-01-27Directories can now be renamed too.Björn Stenberg
2003-01-24Remove use of rockbox-mode.el in local variables list.Mats Lidell
2002-12-19Use flush_cache() when writing headbytes to disk to make sure we are on the c...Hardeep Sidhu
2002-11-19Added rename()Björn Stenberg
2002-11-14Flush sector cache before truncating.Björn Stenberg
2002-11-13creat() now includes the O_TRUNC flag.Björn Stenberg
2002-11-11Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.Björn Stenberg
2002-11-11Bugfix: Flags work better when they're binary...Björn Stenberg
2002-11-11Added support for O_CREAT, O_APPEND and O_TRUNC.Björn Stenberg
2002-11-11Added ftruncate().Björn Stenberg
2002-11-11Added support for O_RDWR and lseek() while writing.Björn Stenberg
2002-11-11Bug fix for previous commit: write() always returned 0 on even sector writes.Björn Stenberg
2002-11-11close() now does not truncate the file.Björn Stenberg
2002-11-05Corrected return value check.Björn Stenberg
2002-11-04Bugfix: lseek() did not invalidate sector cache when seeking to start of file.Björn Stenberg
2002-11-01Added remove()Björn Stenberg
2002-10-31Fixed lseek().Björn Stenberg
2002-10-31More graceful handling when running out of space.Björn Stenberg
2002-10-22Fat32 write updates: Nixed some bugs. Basic file creation now works. Todo: Lo...Björn Stenberg
2002-10-21removed use of uninitialized variableDaniel Stenberg
2002-10-20Snapshot of file writing code. Bugs remain. Only short names are supported yet.Björn Stenberg
2002-08-24Make close() check for a valid fd and set errno accordingly.Heikki Hannikainen
2002-08-22when we want to open a file, we want the exact specified file name, notDaniel Stenberg
2002-06-26lseek: Adjust cacheoffset if cache is usedBjörn Stenberg
2002-06-241 byte reads past a sector boundary failedLinus Nielsen Feltzing
2002-06-19lseek() bug: It would claim cached sector even if that was not the caseBjörn Stenberg
2002-06-18Filenames are case insensitive in Fat32Björn Stenberg
2002-06-07Added check for open-for-writeLinus Nielsen Feltzing
2002-05-27Bugfix: SEEK_END takes negative positionBjörn Stenberg
2002-05-27Fixed possible race conditionBjörn Stenberg
2002-05-16Removed debug outputLinus Nielsen Feltzing
2002-05-13Changing to C99 'bool' typeBjörn Stenberg
2002-05-08Added commentBjörn Stenberg
2002-05-08Added lseek()Björn Stenberg
2002-05-08Fixed read() for sub-sector requestsBjörn Stenberg
2002-05-07Added open/close/read. read() only works on whole sectors right now.Björn Stenberg