[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bayonne-devel] possible bug in serial.cpp for win32
From: |
Deniz Koprulu |
Subject: |
[Bayonne-devel] possible bug in serial.cpp for win32 |
Date: |
Mon, 28 Aug 2006 06:44:25 -0700 (PDT) |
Some debugging led me to a clue about a possible bug.
I think
" if(dwLength > (int)cs.cbInQue) "
check in the beginning of Win32 Serial::aRead should be
" if(Length > (int)cs.cbInQue) ".
One supporting evidence is that the default value of dwLength
is 0 and this IF statement is redundant.
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small
Business.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bayonne-devel] possible bug in serial.cpp for win32,
Deniz Koprulu <=