Ondrej Oprala
8901e010fa
dd: avoid buffer allocations unless needed
...
* src/dd.c: Add new static global variable ibuf.
(alloc_ibuf, alloc_obuf): New functions factored from dd_copy().
(dd_copy): Call the new functions to allocate memory for
ibuf and obuf when necessary.
(skip): Likewise.
* tests/dd/no-allocate.sh: New test.
* tests/local.mk: Reference the test.
2013-04-14 01:00:45 +01:00
..
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-04-04 03:02:10 +01:00
2013-04-14 01:00:45 +01:00
2013-04-04 03:02:10 +01:00
2013-02-20 04:04:00 +00:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-02-22 21:31:32 +01:00
2013-04-04 02:46:52 +01:00
2013-04-04 03:02:10 +01:00
2013-04-10 14:34:52 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-02-20 04:04:00 +00:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-04-04 03:01:48 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00
2011-09-08 22:03:17 +02:00
2013-01-01 04:51:20 +01:00
2011-02-08 22:46:25 +00:00
2011-04-13 11:18:48 +01:00
2012-09-14 10:20:03 +02:00
2013-01-01 04:51:20 +01:00
2006-08-16 20:11:42 +00:00
2013-04-14 01:00:45 +01:00
2012-08-30 18:55:59 +02:00
2013-01-01 04:51:20 +01:00
2013-01-01 04:51:20 +01:00