From: Romain B. <to...@ra...> - 2010-05-11 15:27:43
|
Le lundi 10 mai 2010 15:18:06, David Baelde a écrit : > Hi, Hi all ! > Thank you for the report, this is a bug. Here are the relevant lines: > let r = Unix.read fd s 0 len in > (* TODO: recursive read ? *) > assert (len = r) ; > You encountered a partial read, and that is not supported in the code. > Our bad, this module has not been tested enough. (Blame the > predominance of ALSA, or the lack of BSD users.) We should be able to fix that. Its true that I remember making the assumption that OSS read calls where always returining the maximun amount.. Romain |