patchAVR Downloader/UploaDEr - Patches: patch #6708, Fixes blocked progress bar...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6708: Fixes blocked progress bar appearance on terms that buffer stderr

Submitter:  Paul L Daniels <pldaniels>
Submitted:  Sat 03 Jan 2009 01:11:32 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  joerg_wunsch Open/Closed:  Closed

Tue 17 Feb 2009 12:44:18 PM UTC, comment #2: 

Request for clarification timed out.  Problem is believed to
be fixed without this patch.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 05 Feb 2009 04:35:34 PM UTC, comment #1: 

The line numbers in your patch indicate you did not make it
against the CVS version.  Are you sure you tried the CVS
version at all?  This version already fixed the issue a
different way (supposedly), by setting the entire output
stream to _IONBF before starting the progress bar, and
returning it to _IOLBF afterwards.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 03 Jan 2009 01:11:32 AM UTC, original submission:  

On some systems the progress bar (#'s) from avrdude is not updated smoothly (instead often appears just as two large 50% updates).  This was most notable when programming AVRs running at very low clock speeds (150kHz or less).

The problem appears to lie with the terminal buffering stderr.

This patch simply adds a fflush() call into the update_progress_tty call  to resolve the situation.

Regards,
Paul.

Paul L Daniels <pldaniels>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by pldaniels (Submitted the item)
  • -email is unavailable- added by pldaniels (Progress bar fix)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-17 joerg_wunsch StatusNeed Info Wont Do
        Open/ClosedOpen Closed
    2009-02-05 joerg_wunsch StatusNone Need Info
        Assigned toNone joerg_wunsch
    2009-01-03 pldaniels Attached File- Added avrdude-progress-bar-fix.diff, #17198
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code