bugGNU Wget - Bugs: bug #23455, Windows version inserts extra...

 
 

bug #23455: Windows version inserts extra carriage returns with -O-

Submitted by:  None
Submitted on:  Sun 01 Jun 2008 10:37:01 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.11.3
Operating System: Microsoft WindowsReproducibility: Every Time
Fixed Release: 1.12Planned Release: 1.12
Regression: NoWork Required: None
Patch Included: No

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 02 Jun 2008 12:35:17 AM UTC, comment #2:

(Hm. I hadn't noticed the submitter had also provided a patch.)

Micah Cowan <micahcowan>
Mon 02 Jun 2008 12:33:24 AM UTC, comment #1:

(Believed) fixed for mainline in 5f807d16a269.

Attached patch.

(file #15779)

Micah Cowan <micahcowan>
Sun 01 Jun 2008 10:37:01 PM UTC, original submission:

Using the Windows version of wget,

wget -q -O- http://example.com/FILE > OUT

If FILE originally had LF line endings, OUT will have CRLF line endings.

If FILE originally had CRLF line endings, OUT will have CRCRLF (!) line endings.

This only happens with the Windows version (compiled with MinGW compiler), and only when using -O to write to standard output. Bug does not occur without -O or with explicit output file, e.g., -O OUT.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15779:  reopen.diff added by micahcowan (1KiB - text/x-diff)
file #15777:  wget-1.11.3-binary.patch added by None (654B - application/octet-stream - This patch works for me.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated the item)
  •  

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Jun 2008 12:33:24 AM UTCmicahcowanAttached File-=>Added reopen.diff, #15779
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.12
      Planned ReleaseNone=>1.12
    Sun 01 Jun 2008 11:58:24 PM UTCNoneAttached File-=>Added wget-1.11.3-binary.patch, #15777

    Back to the top


    Powered by Savane 3.1-cleanup1