comedi_buf_put_array wrap

I was looking at the implementation of __comedi_buf_put_array.

When ( async->buf_write_ptr + num_bytes  >= async->data_len ), it just 
sets COMEDI_CB_EOBUF and then writes all the data.

Doesn't it need to write what will fit, reset the write pointer to the 
begging, and then write the rest of it?

-Dan

Received on 2002-07-24Z22:07:21