bugGNU Wget - Bugs: bug #20747, Wget returns exit code 256 instead...

 
 

bug #20747: Wget returns exit code 256 instead of 0 if --spider is given and the URL exists

Submitted by:  Mauro Tortonesi <mtortonesi>
Submitted on:  Fri 10 Aug 2007 01:47:43 PM UTC  
 
Category: Program LogicSeverity: 4 - Important
Priority: 5 - NormalStatus: Fixed In Repository
Privacy: PublicAssigned to: Micah Cowan <micahcowan>
Originator Name: Open/Closed: Closed
Release: trunkOperating System: None
Reproducibility: Every TimeFixed Release: 1.11
Planned Release: 1.11Regression: None
Work Required: 0 - HoursPatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 24 Aug 2007 09:13:40 AM UTC, comment #1:

processes can't return exit codes greater than 255. I get an exit code of 1. Probably you were looking at the raw return value from a waitpid() or similar?

Micah Cowan <micahcowan>In charge of this item.
Fri 10 Aug 2007 01:47:43 PM UTC, original submission:

Wget returns exit code 256 if --spider is given and the given URL exists. This behavior is incorrect, and Wget should return 0 instead.

The problem is only in the trunk. Wget 1.10.2 correctly returns 0 in this case.

Mauro Tortonesi <mtortonesi>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Posted a comment)
  • -unavailable- added by mtortonesi (Submitted the item)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Aug 2007 04:34:54 AM UTCmicahcowanStatusAwaiting Approval=>Fixed In Repository
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.11
    Fri 24 Aug 2007 09:51:39 AM UTCmicahcowanStatusIn Progress=>Awaiting Approval
      Assigned tomtortonesi=>micahcowan

    Back to the top


    Powered by Savane 3.1-cleanup1