New debug options:
-Wlarger-than-127
Cleanup any big users
- -Wunused-parameter
- Facilitate applet PROTOTYPES to provide means for having applets that
- do a) not take any arguments b) need only one of argc or argv c) need
- both argc and argv. All of these three options should go for the most
- feature complete denominator.
Collate BUFSIZ IOBUF_SIZE MY_BUF_SIZE PIPE_PROGRESS_SIZE BUFSIZE PIPESIZE
make bb_common_bufsiz1 configurable, size wise.
make pipesize configurable, size wise.
---
Text buffer support.
Several existing applets (sort, vi, less...) read
- a whole file into memory and act on it. There might be an opportunity
- for shared code in there that could be moved into libbb...
+ a whole file into memory and act on it. Use open_read_close().
---
Memory Allocation
We have a CONFIG_BUFFER mechanism that lets us select whether to do memory
FEATURE_CLEAN_UP
This is more an unresolved issue than a to-do item. More thought is needed.
- Normally we rely on exit() to free memory, close files, and unmap segments
+ Normally we rely on exit() to free memory, close files and unmap segments
for us. This makes most calls to free(), close(), and unmap() optional in
busybox applets that don't intend to run for very long, and optional stuff
can be omitted to save size.
---
in_ether duplicated in network/{interface,ifconfig}.c
---
+ unify progress_meter. wget, flash_eraseall, pipe_progress, fbsplash, setfiles.
Code cleanup: