Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-04 20:05:02 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-04 20:05:02 +0400
commit863073da0858b07149d4c15d13d1ac0b1a769eb0 (patch)
tree8f3d93ba1eaf148433dcba0078fcc344ddcb2f00 /TODO
parent395010b1f05911ddcba304bc591ec58950f118c9 (diff)
- add note about removing superfluous fmt specifiers
Diffstat (limited to 'TODO')
-rw-r--r--TODO9
1 files changed, 7 insertions, 2 deletions
diff --git a/TODO b/TODO
index 2a963ddb9..778e924d8 100644
--- a/TODO
+++ b/TODO
@@ -259,12 +259,17 @@ Minor stuff:
if(!ioctl (fd, WDIOC_GETTIMEOUT, &tmo)) timer_duration = 1 + (tmo / 2);
Unfortunately, that needs linux/watchdog.h and that contains unfiltered
kernel types on some distros, which breaks the build.
-
+---
use bb_error_msg where appropriate: See
egrep "(printf.*\([[:space:]]*(stderr|2)|[^_]write.*\([[:space:]]*(stderr|2))"
-
+---
use bb_perror_msg where appropriate: See
egrep "[^_]perror"
+---
+ Remove superfluous fmt occurances: e.g.
+ fprintf(stderr, "%s: %s not found\n", "unalias", *argptr);
+ -> fprintf(stderr, "unalias: %s not found\n", *argptr);
+---
Code cleanup: