libbb/copyfd.c: don't mmap a largish buffer if we only want to copy a few kb
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Mar 2010 13:34:30 +0000 (14:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Mar 2010 13:34:30 +0000 (14:34 +0100)
commitbcda0042e2313d65a835b874c78bf215d743a844
tree774e7772ac513cd18ba8d394db44839ea9bfe2d9
parent892d4b6b3d7e9950ff3708ca957e1e0590dd5a2d
libbb/copyfd.c: don't mmap a largish buffer if we only want to copy a few kb

function                                             old     new   delta
bb_full_fd_action                                    283     295     +12

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