bugGNU Wget - Bugs: bug #34197, Wrong exit code

 
 

bug #34197: Wrong exit code

Submitter:  None
Submitted:  Fri 02 Sep 2011 02:31:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  gscrivano
Originator Name:  Jakob Matthes Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  trunk
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  1.13.4
Regression:  Yes Work Required:  None
Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 Sep 2011 01:56:45 PM UTC, comment #3: 

Thanks.. amended.

Giuseppe Scrivano <gscrivano>
Group administrator
Tue 06 Sep 2011 11:14:39 AM UTC, comment #2: 

Giuseppe, you missed the change with '--help'.

(file #23953)

Anonymous
Sun 04 Sep 2011 11:58:55 AM UTC, comment #1: 

Thanks for your report.  It is fixed in the development version.

Giuseppe Scrivano <gscrivano>
Group administrator
Fri 02 Sep 2011 02:31:20 PM UTC, original submission:  

The changes of revision 2552 (http://bzr.savannah.gnu.org/lh/wget/trunk/revision/2552) introduced the following behaviour:

% LC_ALL=C wget -V         
GNU Wget 1.13.3 built on linux-gnu.

+digest

(output is not terminated by a newline)

% echo $?
3

The --help output consists of a single line and returns exit code 3 as well:
% LC_ALL=C wget --help
GNU Wget 1.13.3, a non-interactive network retriever.

This breaks other applications which rely on the exit code.
The infopage designates exit code 3 as "File I/O error".

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23953:  fix-printf-return.patch added by None (348B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-06 None Attached File- Added fix-printf-return.patch, #23953
    2011-09-04 gscrivano StatusNone Fixed
        Assigned toNone gscrivano
        Planned ReleaseNone 1.13.4

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code