From: Todd C. Miller Subject: Re: BUFSIZ-related pessimization in fvwrite.c To: enh Cc: OpenBSD Tech Date: Fri, 26 Apr 2024 17:05:51 -0600 On Fri, 26 Apr 2024 13:56:59 -0700, enh wrote: > [-netbsd since they took the Apple patch as-is] > > openbsd: thoughts? I see no reason not to do this, short writes are handled gracefully. I'm not aware of any hard requirement to do buffered writes in multiples of the buffer size. This may just be stdio trying to do writes in a multiple of the optimal I/O block size (st_blksize). - todd