mirror of
https://github.com/file/file.git
synced 2024-11-23 09:56:30 +08:00
document how to improve things
This commit is contained in:
parent
0c18beb601
commit
190788f402
11
TODO
11
TODO
@ -31,6 +31,17 @@ could require structural changes to the matching code :-(
|
||||
# rule 2
|
||||
>0 ....
|
||||
...
|
||||
---
|
||||
- Merge the stat code dance in one place and keep it in one place
|
||||
(perhaps struct buffer).
|
||||
- Enable seeking around if offset > nbytes if possible (the fd
|
||||
is seekable).
|
||||
- We could use file_pipe2file more (for EOF offsets, CDF documents),
|
||||
but that is expensive; perhaps we should provide a way to disable it
|
||||
- The implementation of struct buffer needs re-thinking and more work.
|
||||
For example we don't always pass the fd in the child. This is not
|
||||
important yet as we don't have yet cases where use/indirect magic
|
||||
needs negative offsets.
|
||||
|
||||
christos
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user