Hi Ludovic!

Ludovic Court�s <[EMAIL PROTECTED]> wrote:
> Therefore, I would not expect io_read() to provide a new buffer with the
> following code, since the buffer size if the same as the requested amount of
> data (*len == size):
> 
>     void* d = data;
> 
>     size = (size > *len)?(*len):size;
>     *len = size;
>     err  = io_read (mbox, (data_t*)&data, len, start + offset, size);
>     assert (data == d);       // this assertion should not fail!
> 
> However, the last assertion does sometimes fail.

See <http://mail.gnu.org/pipermail/help-hurd/2002-April/005673.html>.

Cheers,
GNU/Wolfgang

-- 
Wolfgang J�hrling  <[EMAIL PROTECTED]>  \\  http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\  http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the    ]
[ cutting edge of not being good for anything." -- Roland McGrath ]

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to