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


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

Submitted by:  James Youngman <jay>
Submitted on:  Mon 24 Mar 2008 12:02:00 AM UTC  
Category: NoneSeverity: 2 - Minor
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.1.20Fixed Release: 4.5.5

Add a New Comment(Rich Markup)

You are not logged in

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


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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.


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

Attach File(s):

No files currently attached


Depends on the following items: None found

   bug dependencies.


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

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jul 2009 10:59:13 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.5
    Sun 05 Jul 2009 10:58:52 PM UTCjayStatusNone=>Fixed
    Mon 24 Mar 2008 12:05:11 AM UTCjayDependencies-=>bugs #20891 is dependent
    Mon 24 Mar 2008 12:04:05 AM UTCjayDependencies-=>bugs #19969 is dependent

    Back to the top

    Powered by Savane 3.1-cleanup1