aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 14:09:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 14:09:19 +0000
commitf7be20e70c27b0bed505710393a99d1b6f821ff1 (patch)
tree151940c339bd35b64734053bb656488c9dbc3daa /coreutils
parentfcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1 (diff)
downloadbusybox-w32-f7be20e70c27b0bed505710393a99d1b6f821ff1.tar.gz
busybox-w32-f7be20e70c27b0bed505710393a99d1b6f821ff1.tar.bz2
busybox-w32-f7be20e70c27b0bed505710393a99d1b6f821ff1.zip
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 e39b466c0..771f610b0 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -293,6 +293,6 @@ int echo_main(int argc, char **argv)
293 } 293 }
294 ret: 294 ret:
295 /* TODO: implement and use full_writev? */ 295 /* TODO: implement and use full_writev? */
296 return writev(1, io, (cur_io - io)) >= 0; 296 return writev(1, io, (cur_io - io)) >= 0;
297} 297}
298#endif 298#endif
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 95f79b269..a28ab465e 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -182,7 +182,7 @@ int tr_main(int argc, char **argv)
182 ssize_t read_chars = 0; 182 ssize_t read_chars = 0;
183 size_t in_index = 0, out_index = 0; 183 size_t in_index = 0, out_index = 0;
184 unsigned last = UCHAR_MAX + 1; /* not equal to any char */ 184 unsigned last = UCHAR_MAX + 1; /* not equal to any char */
185 unsigned char coded, c; 185 unsigned char coded, c;
186 unsigned char *output = xmalloc(BUFSIZ); 186 unsigned char *output = xmalloc(BUFSIZ);
187 char *vector = xzalloc((ASCII+1) * 3); 187 char *vector = xzalloc((ASCII+1) * 3);
188 char *invec = vector + (ASCII+1); 188 char *invec = vector + (ASCII+1);