summaryrefslogtreecommitdiff
path: root/firmware/common/file.c
AgeCommit message (Expand)Author
2005-10-07Implemented directory caching. No more waiting for disk to spin up whileMiika Pekkarinen
2005-01-28preparations for hotswapping MMCJörg Hohensohn
2005-01-23int -> long where neededJean-Philippe Bernardy
2004-12-28prepared to mount multiple partitions into one logical file system (most usef...Jörg Hohensohn
2004-11-17Bug fix: Do only flush the sector buffer after writing head bytes if it reall...Jens Arnold
2004-10-01void* can't be offset, gcc should not allows thisJörg Hohensohn
2004-09-06Bug fix: open() now handles O_TRUNC correctly (this was the real cause for th...Jens Arnold
2004-08-22Bug fix: renaming a directory could cause a name clash. New feature: rename()...Linus Nielsen Feltzing
2004-07-19The pathname argument for open() is declared const, so copy it has to be copiedJens Arnold
2004-04-16No need to call fat_truncate() to delete the file, fat_remove() frees all clu...Linus Nielsen Feltzing
2004-03-10You can't open() a directory as a file (at least not for writing)Linus Nielsen Feltzing
2004-02-11Empty file/dir names are now rejected by open() and mkdir()Linus Nielsen Feltzing
2003-12-08my take at fixing the simulator warnings by adding mode_t, size_t, ssize_tDaniel Stenberg
2003-07-01Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlis...Hardeep Sidhu
2003-06-29Renamed flush() to fsync() to be more in line with POSIX/unixBjörn Stenberg
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