Follow-up Comment #4, bug #14681 (project avrdude):

This is a bug in ser_send() on Windows, but not Unix (ser_win32.c vs
ser_posix.c).  The bug is that the buffer index and the buf itself are
incremented within the char output loop and by the time execution reaches the
point where the buffer itself needs to be output, the counters have been
updated, and thus there is no more data to output.  A temporary variables
need to be used for the verbose output loop instead of the originals.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to