Pádraig Brady
195c455d0a
split: fix a case where --elide-empty causes invalid chunking
...
When -n l/N is used and long lines are present that both
span partitions and multiple buffers, one would get
inconsistent chunk sizes.
* src/split.c (main): Add a new undocumented ---io-blksize option
to support full testing with varied buffer sizes.
(cwrite): Refactor most handling of --elide-empty to here.
(bytes_split): Remove handling of --elide-empty.
(lines_chunk_split): Likewise. The specific issue here
was the first handling of elide_empty_files interfered
with the replenishing of the input buffer.
* test/misc/split-lchunk: Add -e and the new ---io-blksize
combinations to the test.
2010-12-08 23:36:17 +00:00
..
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:46:25 +01:00
2010-01-01 14:06:47 +01:00
2010-02-25 08:54:49 -07:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-05-26 11:33:53 +02:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-09-07 10:49:55 +01:00
2010-10-14 09:23:51 +02:00
2010-11-17 21:45:51 +01:00
2010-10-19 09:35:44 +02:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-05-23 18:10:41 +02:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-18 09:51:04 -08:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:46:22 +01:00
2010-11-17 21:46:22 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:46:22 +01:00
2010-11-17 21:46:22 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:46:22 +01:00
2010-11-17 21:46:22 +01:00
2010-11-17 21:46:25 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:46:57 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-08-13 15:57:52 -07:00
2010-11-17 21:45:51 +01:00
2010-12-05 17:07:35 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-05-31 10:59:11 +02:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-12-04 11:52:21 +01:00
2010-11-17 21:45:51 +01:00
2010-12-01 08:15:42 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-22 01:45:15 +00:00
2010-11-22 01:45:15 +00:00
2010-11-22 01:45:15 +00:00
2010-12-08 23:36:17 +00:00
2010-11-22 01:45:15 +00:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:46:25 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-08-28 19:28:20 +02:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-05-31 10:59:11 +02:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-09-29 11:05:12 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-01-01 14:06:47 +01:00
2010-05-31 10:59:11 +02:00
2010-05-31 10:59:11 +02:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-01-01 14:06:47 +01:00
2010-11-17 21:45:51 +01:00
2010-11-17 21:46:25 +01:00
2010-01-01 14:06:47 +01:00