I think you want to do check to see if the term buffer is full after writing the '\r' here right? Otherwise, I presume it's possible to get a buffer overflow is '\n' would normally fill the buffer.
Regards, Anthony Liguori On Fri, 14 Jul 2006 20:26:42 +0000, Fabrice Bellard wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Fabrice Bellard <bellard> 06/07/14 20:26:42 > > Modified files: > . : monitor.c vl.c > > Log message: > generate CRLF instead of LF > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qemu/monitor.c?cvsroot=qemu&r1=1.51&r2=1.52 > http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.199&r2=1.200 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel