> I am not sure I like this idea. The len_to_wrt being less than 0
> indicates a bug which will be hidden behind such a loop. I
> think it's better to keep the Assert as-is.

Well, my main concern is that assertions are unlikely to be enabled in 
production environments. 
Also, the new patch looks really good. Besides, it seems you accidentally 
forgot to cc Michael.

--
Regards,
Man Zeng
www.openhalo.org

Reply via email to