patch #7717 avrftdi_flash_write is broken

* avrftdi.c: fixed wrong buffer address initialization in paged_write
bug #35296 Extraneous newlines in output.
* main.c: fixed output of newlines at 100% progress


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1065 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Rene Liebscher
2012-02-04 16:43:37 +00:00
parent 583ce458f9
commit 10c078e7f3
3 changed files with 9 additions and 2 deletions

2
main.c
View File

@@ -158,8 +158,8 @@ static void update_progress_tty (int percent, double etime, char *hdr)
}
if (percent == 100) {
if (!last) fprintf (stderr, "\n\n");
last = 1;
fprintf (stderr, "\n\n");
}
setvbuf(stderr, (char*)NULL, _IOLBF, 0);