avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #18339] safemode doesn't care for pgm->read_byte() re


From: Colin O Flynn
Subject: [avrdude-dev] [bug #18339] safemode doesn't care for pgm->read_byte() return values
Date: Tue, 21 Nov 2006 20:33:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

Follow-up Comment #1, bug #18339 (project avrdude):

Ooops - quite the oversight!

See attached patch - does it work for you? It uses the idea that safemode
doesn't care what the returned values are, only if they are the same or
different.

So to make sure, if any function retursn anything other than 0 it makes sure
the nonsense returned is DIFFERENT nonsense.

 -Colin
    _______________________________________________________

Additional Item Attachment:

File name: safemode_patch.diff            Size:4 KB
Patch against CVS
<http://savannah.nongnu.org/bugs/download.php?file_id=11310>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18339>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]