> On Oct 11, 2021, at 10:08 AM, Todd C. Miller <[email protected]> wrote:
> 
> On Sun, 10 Oct 2021 19:13:55 -0500, Scott Cheloha wrote:
> 
>> This unifies the input maximums on 32-bit and 64-bit platforms.
> 
> This really feels like a solution in search of a problem.

However unlikely large files are, there is a history in our tree of
increasing input limits to transparently support large(r) files:

cat(1) (ok millert@):

https://github.com/openbsd/src/commit/8d576c92c5d93d1e61ef1d918cae5fa9a9421c10

dd(1) (ok millert@):

https://github.com/openbsd/src/commit/5a04faeb71440b1f24533a07e5230c7d4655f7da#diff-1b1e72ca344d152a8a9e82bd3f4ad570cc3d08d175b2a47aa9b3b271ed789928

tail(1) (ok millert@):

https://github.com/openbsd/src/commit/c830e4ad7782508f7f7111bb524ecc767949e215

wc(1) (commited by millert@):

https://github.com/openbsd/src/commit/5ca607faa74cf42c55020844f84274a2224f2481

--

I'll probably do nl(1) in the near future.  It still counts lines with
an int.  nl(1) is trickier, though.  Many more variables involved.

head(1), in constrast, is trivial.

Reply via email to