diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-04 20:45:54 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-04 20:45:54 +0000 |
commit | 93bb543978e9ffe9a39bcccc25c929fc98698d15 (patch) | |
tree | 27373e0accdf8c7a291fc1d4a4356590737bee2a | |
parent | ae69c43901827dce4b7b853948c4f4425a9ffef5 (diff) | |
download | busybox-w32-93bb543978e9ffe9a39bcccc25c929fc98698d15.tar.gz busybox-w32-93bb543978e9ffe9a39bcccc25c929fc98698d15.tar.bz2 busybox-w32-93bb543978e9ffe9a39bcccc25c929fc98698d15.zip |
Size I zapped the bb_close() error, might as well make a TODO item.
git-svn-id: svn://busybox.net/trunk/busybox@12152 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | TODO | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -34,10 +34,22 @@ man | |||
34 | --- | 34 | --- |
35 | bzip2 | 35 | bzip2 |
36 | Compression-side support. | 36 | Compression-side support. |
37 | 37 | --- | |
38 | init | ||
39 | General cleanup. | ||
38 | 40 | ||
39 | Architectural issues: | 41 | Architectural issues: |
40 | 42 | ||
43 | bb_close() with fsync() | ||
44 | We should have a bb_close() in place of normal close, with a CONFIG_ option | ||
45 | to not just check the return value of close() for an error, but fsync(). | ||
46 | Close can't reliably report anything useful because if write() accepted the | ||
47 | data then it either went out or it's in cache or a pipe buffer. Either way, | ||
48 | there's no guarantee it'll make it to its final destination before close() | ||
49 | gets called, so there's no guarantee that any error will be reported. | ||
50 | You need to call fsync() if you care about errors that occur after write(), | ||
51 | but that can have a big performance impact. So make it a config option. | ||
52 | --- | ||
41 | Do a SUSv3 audit | 53 | Do a SUSv3 audit |
42 | Look at the full Single Unix Specification version 3 (available online at | 54 | Look at the full Single Unix Specification version 3 (available online at |
43 | "http://www.opengroup.org/onlinepubs/009695399/nfindex.html") and | 55 | "http://www.opengroup.org/onlinepubs/009695399/nfindex.html") and |