between your work and theirs. But otherwise, all of these are fair game.
Rob Landley <rob@landley.net>:
+ Add BB_NOMMU to platform.h and migrate __uClinux__ tests to that.
+ #if defined __UCLIBC__ && !defined __ARCH_USE_MMU__
Add a libbb/platform.c
Implement fdprintf() for platforms that haven't got one.
Implement bb_realpath() that can handle NULL on non-glibc.
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);
+---
+ possible code duplication ingroup() and is_a_group_member()
+---
+ unify itoa: netstat.c, hush.c, lash.c, msh.c
+ Put one single, robust version into e.g. safe_strtol.c
+---
Code cleanup: