Searched hist:"5 c053aa3c5e907bdd1ac466ce9b58611781c2c20" (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/split/ |
H A D | split.1 | diff 5c053aa3c5e907bdd1ac466ce9b58611781c2c20 Tue Aug 23 04:05:58 CEST 2022 Kyle Evans <kevans@FreeBSD.org> split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wiggle room. Additionally, we'll actually fail out entirely if we can't fit a line, which makes noticing this class of problem much easier.
Reviewed by: bapt, emaste, pauamma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36323
|
H A D | split.c | diff 5c053aa3c5e907bdd1ac466ce9b58611781c2c20 Tue Aug 23 04:05:58 CEST 2022 Kyle Evans <kevans@FreeBSD.org> split: switch to getline() for line/pattern matching
Get rid of split's home-grown logic for growing the buffer; arbitrarily breaking at LONG_MAX bytes instead of 65536 bytes gives us much more wiggle room. Additionally, we'll actually fail out entirely if we can't fit a line, which makes noticing this class of problem much easier.
Reviewed by: bapt, emaste, pauamma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36323
|