bugfindutils - Bugs: bug #22708, Return status 126, 127 are...

 
 

bug #22708: Return status 126, 127 are incorrectly interpreted by xargs

Submitter:  James Youngman <jay>
Submitted:  Mon 24 Mar 2008 12:02:00 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.1.20 Fixed Release:  4.5.5
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Jul 2009 10:58:52 PM UTC, comment #1: 

Fixed in 4.5.x (due to be released in 4.5.5).

James Youngman <jay>
Group administrator
Mon 24 Mar 2008 12:02:00 AM UTC, original submission:  

According to the xargs documentation, the xargs utility is supposed to return status 126 or 127 if the command canot be run.   However, xarsg returns 126 if the utility returns 126, and 127 if the utility returns 127. 

That means that when xargs returns 126, you can't be sure whether it's because the utility could not be run, or that it could be run but it returned 126.

This problem is addressed by the code changes included in Leslie Polzer's Summer of Code work, but this has not yet been merged.

James Youngman <jay>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-06 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.5
    2009-07-05 jay StatusNone Fixed
    2008-03-24 jay Dependencies- bugs #20891 is dependent
    2008-03-24 jay Dependencies- bugs #19969 is dependent

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code