avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] STDIN and STDOUT not working


From: Francisco T. A. Silva
Subject: Re: [avrdude-dev] STDIN and STDOUT not working
Date: Wed, 07 May 2003 11:09:15 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Brian Dean wrote:
Hi Francisco,

On Tue, May 06, 2003 at 08:24:04PM -0300, Francisco T. A. Silva wrote:


I've come up with a patch for the problem, but I'm unable to test it up to tomorrow morning. Maybe someone else can try it...


This is probably my bad which I introduced when I added "immediate
mode" file input.  I didn't use your patch, but I've committed what I
believe to be a fix.  Sorry about that.  I don't believe this code
went into the last release, so there shouldn't be any problem there.

If you can try out the new code and let us know, that'd be great.
I've tested it here and it seems to do the right thing in all the
cases I've tried, but I could have missed something.

Thanks!
-Brian

Hi Brian,

Your fix works here! Thanks

--
Francisco

PS: if you remove that second fname = filename statement, avrdude would report
avrdude: writing output file "<stdout>"
instead of
avrdude: writing output file "-"

see attached patch.
Index: fileio.c
===================================================================
RCS file: /cvsroot/avrdude/avrdude/fileio.c,v
retrieving revision 1.25
diff -r1.25 fileio.c
1022c1022
<       fname = filename;
---
> //    fname = filename; // already done when testing for stdin or stdout

reply via email to

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