avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] RE: FIXED: was avrdude prb [RE: [avr-gcc-list] printf_P +


From: Bernard Fouché
Subject: [avrdude-dev] RE: FIXED: was avrdude prb [RE: [avr-gcc-list] printf_P + PSTR("\n\r") does not seem towork, however ("\r\n") is okay]
Date: Fri, 13 Aug 2004 09:50:46 +0200

How can I list the version number from avrdude? I got this avrdude from
Winavr-20040720-install.exe. I tried to do 'avrdude --version' but it does
not use the usual version option query.

Since it's easy to reproduce the problem, I volonteer to test any new
version that would fix it.

-----Message d'origine-----
De : E. Weddington [mailto:address@hidden
Envoyé : vendredi 13 août 2004 00:00
À : Theodore A. Roth
Cc : Bernard Fouché; AVR GCC List; Brian Dean; avrdude-dev
Objet : Re: FIXED: was avrdude prb [RE: [avr-gcc-list] printf_P +
PSTR("\n\r") does not seem towork,however ("\r\n") is okay]


Theodore A. Roth wrote:

>I have this nagging feeling that you have exposed a bug in avrdude. I
>suspect that you are using avrdude on windows that avrdude is opening
>the binary file for reading using
>
>  fopen (file, "r");
>
>when it should be using
>
>  fopen (file, "rb");
>
>If memory serves, "r" and "rb" are the same on most Unix systems, but
>have a subtle difference on Windows (end-of-line translation?). Any
>windows experts care to comment on this?
>
>
Hmm. It looks  like this was supposed to be taken care of. See fileio.c,
function fileio() (line 890 according to 4.4.0 sources). There's a
conditional compilation for Windows.

I've also CC'd avrdude-dev.

Eric





reply via email to

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