bug #25971: "error writing to <stdout>" with multiple -U params.
* fileio.c: Do not close the input/output stream when working on an stdio stream. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@816 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
90943bf2bb
commit
4f075ae3b3
|
@ -1,3 +1,9 @@
|
||||||
|
2009-03-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
bug #25971: "error writing to <stdout>" with multiple -U params.
|
||||||
|
* fileio.c: Do not close the input/output stream when working on an
|
||||||
|
stdio stream.
|
||||||
|
|
||||||
2009-02-28 Thomas Fischl <tfischl@gmx.de>
|
2009-02-28 Thomas Fischl <tfischl@gmx.de>
|
||||||
|
|
||||||
Based on patch #6484 commited by Jurgis Brigmanis:
|
Based on patch #6484 commited by Jurgis Brigmanis:
|
||||||
|
|
|
@ -1150,7 +1150,7 @@ int fileio(int op, char * filename, FILEFMT format,
|
||||||
rc = avr_mem_hiaddr(mem);
|
rc = avr_mem_hiaddr(mem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (format != FMT_IMM) {
|
if (format != FMT_IMM && !using_stdio) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
|
|
Loading…
Reference in New Issue