Björn Stenberg
|
184fd55411
|
Directories can now be renamed too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
|
2003-01-27 09:32:17 +00:00 |
|
Mats Lidell
|
74cc9e41fa
|
Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
|
2003-01-24 10:56:06 +00:00 |
|
Hardeep Sidhu
|
d2f90c9a74
|
Use flush_cache() when writing headbytes to disk to make sure we are on the correct sector.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3023 a1c6a512-1295-4272-9138-f99709370657
|
2002-12-19 00:51:39 +00:00 |
|
Björn Stenberg
|
c5f5be565e
|
Added rename()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-19 12:48:50 +00:00 |
|
Björn Stenberg
|
4cde17d1ca
|
Flush sector cache before truncating.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2849 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-14 15:50:07 +00:00 |
|
Björn Stenberg
|
7d8bbe71b6
|
creat() now includes the O_TRUNC flag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2846 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-13 23:25:46 +00:00 |
|
Björn Stenberg
|
94fb95f00b
|
Cosmetic: Replaced dozens of openfiles[fd] with 'file' pointers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2831 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 16:13:45 +00:00 |
|
Björn Stenberg
|
4059ea61d4
|
Bugfix: Flags work better when they're binary...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 16:08:28 +00:00 |
|
Björn Stenberg
|
9f9c495662
|
Added support for O_CREAT, O_APPEND and O_TRUNC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 15:45:43 +00:00 |
|
Björn Stenberg
|
68640edf90
|
Added ftruncate().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 14:40:18 +00:00 |
|
Björn Stenberg
|
228605dc7b
|
Added support for O_RDWR and lseek() while writing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2826 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 13:57:58 +00:00 |
|
Björn Stenberg
|
6dc77d881b
|
Bug fix for previous commit: write() always returned 0 on even sector writes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2822 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 11:16:49 +00:00 |
|
Björn Stenberg
|
11a09e632c
|
close() now does not truncate the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-11 10:21:51 +00:00 |
|
Björn Stenberg
|
62085b1bc0
|
Corrected return value check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2807 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-05 16:15:47 +00:00 |
|
Björn Stenberg
|
c9fb098250
|
Bugfix: lseek() did not invalidate sector cache when seeking to start of file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2803 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-04 14:59:46 +00:00 |
|
Björn Stenberg
|
307f5d846e
|
Added remove()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2801 a1c6a512-1295-4272-9138-f99709370657
|
2002-11-01 15:26:06 +00:00 |
|
Björn Stenberg
|
675d258575
|
Fixed lseek().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2796 a1c6a512-1295-4272-9138-f99709370657
|
2002-10-31 20:41:36 +00:00 |
|
Björn Stenberg
|
08356fb50a
|
More graceful handling when running out of space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2793 a1c6a512-1295-4272-9138-f99709370657
|
2002-10-31 19:05:25 +00:00 |
|
Björn Stenberg
|
46ddacf533
|
Fat32 write updates: Nixed some bugs. Basic file creation now works. Todo: Long filenames and extensive test cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2742 a1c6a512-1295-4272-9138-f99709370657
|
2002-10-22 15:06:08 +00:00 |
|
Daniel Stenberg
|
aeb3d0dcef
|
removed use of uninitialized variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2727 a1c6a512-1295-4272-9138-f99709370657
|
2002-10-21 07:26:12 +00:00 |
|
Björn Stenberg
|
b7b48fea02
|
Snapshot of file writing code. Bugs remain. Only short names are supported yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2726 a1c6a512-1295-4272-9138-f99709370657
|
2002-10-20 22:50:58 +00:00 |
|
Heikki Hannikainen
|
adbe4eddf9
|
Make close() check for a valid fd and set errno accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1965 a1c6a512-1295-4272-9138-f99709370657
|
2002-08-24 09:47:54 +00:00 |
|
Daniel Stenberg
|
e666ce933a
|
when we want to open a file, we want the exact specified file name, not
just one that starts with our given string...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1929 a1c6a512-1295-4272-9138-f99709370657
|
2002-08-22 20:13:21 +00:00 |
|
Björn Stenberg
|
88c861ed41
|
lseek: Adjust cacheoffset if cache is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1199 a1c6a512-1295-4272-9138-f99709370657
|
2002-06-26 14:21:25 +00:00 |
|
Linus Nielsen Feltzing
|
79e72318c2
|
1 byte reads past a sector boundary failed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1138 a1c6a512-1295-4272-9138-f99709370657
|
2002-06-24 07:46:19 +00:00 |
|
Björn Stenberg
|
866600216e
|
lseek() bug: It would claim cached sector even if that was not the case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1095 a1c6a512-1295-4272-9138-f99709370657
|
2002-06-19 17:01:58 +00:00 |
|
Björn Stenberg
|
d6b04045c0
|
Filenames are case insensitive in Fat32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1060 a1c6a512-1295-4272-9138-f99709370657
|
2002-06-18 08:35:20 +00:00 |
|
Linus Nielsen Feltzing
|
7fbdc3692d
|
Added check for open-for-write
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@922 a1c6a512-1295-4272-9138-f99709370657
|
2002-06-07 15:15:10 +00:00 |
|
Björn Stenberg
|
aa12eda830
|
Bugfix: SEEK_END takes negative position
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@747 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-27 12:38:41 +00:00 |
|
Björn Stenberg
|
881cd23652
|
Fixed possible race condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@728 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-27 09:13:56 +00:00 |
|
Linus Nielsen Feltzing
|
29b6b51c5e
|
Removed debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@602 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-16 20:58:47 +00:00 |
|
Björn Stenberg
|
2382044ffc
|
Changing to C99 'bool' type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-13 12:29:34 +00:00 |
|
Björn Stenberg
|
412917e1b6
|
Added comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@519 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-08 15:27:21 +00:00 |
|
Björn Stenberg
|
1c3217909b
|
Added lseek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@518 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-08 15:16:02 +00:00 |
|
Björn Stenberg
|
073ce1aab3
|
Fixed read() for sub-sector requests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@513 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-08 12:10:30 +00:00 |
|
Björn Stenberg
|
4bd870360a
|
Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
|
2002-05-07 16:01:53 +00:00 |
|