bugAVR Downloader/UploaDEr - Bugs: bug #3293, Windows file open mode wrong in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3293: Windows file open mode wrong in raw output format.

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Mon 21 Apr 2003 03:50:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Eric Weddington <arcanum>Originator Name: 
Open/Closed: ClosedRelease: None
Programmer hardware: Device type: 

Wed 23 Apr 2003 04:38:02 PM UTC, comment #1:

Fix committed in fileio.c.

Eric Weddington <arcanum>
Project MemberIn charge of this item.
Mon 21 Apr 2003 03:50:22 PM UTC, original submission:

From Lou Cypher on AVR Freaks:

"I'm using AvrDude 4 as shipped with WinAVR, and I discovered a bug in the binary output format (as in "avrdude -c xx -p yy -f r -o file.bin"), since it seems to always open files in 'translated' mode, instead of using 'binary' mode.

This works well with Unix and alikes, since a '\n' has the same representation in the two modes, while on Windows it is translated in "\r\n", that has the nasty side effects of an additional 0x0D in the output -- fopen() needing a check for "wb" mode?"

Eric Weddington <arcanum>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 23 Apr 2003 04:38:02 PM UTCarcanumStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1