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: Tue, 06 May 2003 20:24:04 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3) Gecko/20030312

E. Weddington wrote:
On 6 May 2003 at 19:34, Francisco T. A. Silva wrote:


E. Weddington wrote:

On 6 May 2003 at 18:24, Francisco T. A. Silva wrote:



Hi all,

The '-' file name to specify STDIN or STDOUT is not working. There
is a test for it in fileio(), but it seems to be ignored in the code
that really open the file. (4.1.0cvs 20030505) -- Francisco



Which OS are you using?
Eric

Linux stargate 2.4.19-1U80_8cl #1 Dom Jan 19 00:38:51 BRST 2003 i586



Thanks.

Would you be willing to fill out a bug tracker? here:
<http://savannah.nongnu.org/bugs/?func=addbug&group=avrdude>

Eric


Hi Eric,

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...

Regards,
--
Francisco

Index: fileio.c
===================================================================
RCS file: /cvsroot/avrdude/avrdude/fileio.c,v
retrieving revision 1.24
diff -r1.24 fileio.c
1009,1010c1009,1011
<     fname = filename;
<     f = fopen(fname, fio.mode);
---
>     if (f == NULL) {
>       f = fopen(fname, fio.mode);
>     }

reply via email to

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