[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pwrite module
From: |
Bruno Haible |
Subject: |
Re: pwrite module |
Date: |
Tue, 11 May 2010 00:57:20 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Peter,
> Attached. Also noticed that I declare read_buf, but never use it
Thanks, I applied it, only fixing up the ChangeLog entries (wrong file names).
> (good job, really, as it's one byte too short).
Huh? No, it had the right size. When you call read() with argument N, the
buffer has to be N bytes large, not N+1.
Bruno
Re: pwrite module, Simon Josefsson, 2010/05/18