summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-12-24 14:09:19 +0000
committerDenis Vlasenko2007-12-24 14:09:19 +0000
commitf7be20e70c27b0bed505710393a99d1b6f821ff1 (patch)
tree151940c339bd35b64734053bb656488c9dbc3daa /coreutils
parentfcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1 (diff)
downloadbusybox-f7be20e70c27b0bed505710393a99d1b6f821ff1.zip
busybox-f7be20e70c27b0bed505710393a99d1b6f821ff1.tar.gz
nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/echo.c2
-rw-r--r--coreutils/tr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index e39b466..771f610 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -293,6 +293,6 @@ int echo_main(int argc, char **argv)
}
ret:
/* TODO: implement and use full_writev? */
- return writev(1, io, (cur_io - io)) >= 0;
+ return writev(1, io, (cur_io - io)) >= 0;
}
#endif
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 95f79b2..a28ab46 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -182,7 +182,7 @@ int tr_main(int argc, char **argv)
ssize_t read_chars = 0;
size_t in_index = 0, out_index = 0;
unsigned last = UCHAR_MAX + 1; /* not equal to any char */
- unsigned char coded, c;
+ unsigned char coded, c;
unsigned char *output = xmalloc(BUFSIZ);
char *vector = xzalloc((ASCII+1) * 3);
char *invec = vector + (ASCII+1);