summaryrefslogtreecommitdiff
path: root/src/getlimits.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2008-11-20 22:49:02 +0000
committerPádraig Brady <P@draigBrady.com>2008-11-21 11:50:59 +0000
commitfbd87029cfc494a72bb73ade27ef46382c5bc832 (patch)
tree60566457d68ce76d1d98a8eb07fc99660d1ed9ea /src/getlimits.c
parent3ece0355d52e41a1b079c0c46477a32250278c11 (diff)
downloadcoreutils-fbd87029cfc494a72bb73ade27ef46382c5bc832.tar.xz
dd: avoid unnecessary memory copies
* src/dd.c (scanargs): When not otherwise required (e.g. for conversion), use two-buffer mode only when the input and output buffer sizes differ. Before, some of the most basic invocations of dd, e.g., dd < in > out, would unnecessarily use separate buffers and perform memory copies between them.
Diffstat (limited to 'src/getlimits.c')
0 files changed, 0 insertions, 0 deletions