xargs: simplify logic
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 13 Jun 2010 22:57:05 +0000 (00:57 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 13 Jun 2010 22:57:05 +0000 (00:57 +0200)
commit7a4021debaa1f89c0ee2ad41f446a8234f8261c7
tree3075619c214be7cda3130e9df32465845ce93665
parentaaa24e09f98f2694f25abb08cee1a74d7f114b7f
xargs: simplify logic

Removed double-buffering in a linked list.

function                                             old     new   delta
store_param                                            -      56     +56
xargs_main                                           871     840     -31
process_stdin                                        458     396     -62
process0_stdin                                       267     143    -124
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 56/-217)          Total: -161 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/xargs.c