read(2) and thus bsdiff is limited to 2^31 bytes

Joerg Sonnenberger joerg at bec.de
Mon May 23 13:41:10 UTC 2016


On Mon, May 23, 2016 at 02:31:18PM +0200, Cedric Blancher wrote:
> Nothing in POSIX mandates that read()/write() are atomic. Old UNIX,
> SystemV, AIX, Solaris and HP-UX don't do that nor do they guarantee
> that.

"I/O is intended to be atomic to ordinary files and pipes and FIFOs."

Joerg


More information about the freebsd-hackers mailing list