bugfindutils - Bugs: bug #11865, xargs -i regression

 
 

bug #11865: xargs -i regression

Submitter:  Dmitry V. Levin <ldv>
Submitted:  Sat 05 Feb 2005 10:55:19 PM UTC
   
 
Category:  xargs Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Wrong result
Status:  Fixed Privacy:  Public
Assigned to:  jay Originator Name: 
Open/Closed:  Closed Release:  4.2.16
Fixed Release:  4.2.17
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 06 Feb 2005 12:46:21 AM UTC, comment #1: 

The attached patch fixes the problem.  The indicated test case has been edded to the test suite.





This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Group administrator
Sat 05 Feb 2005 10:55:19 PM UTC, original submission:  

There is a regression introduced in findutils-4.2.12.
"xargs -i -s" now results to unexpected "argument line too long" error.

This happens due to new piece of code appered in bc_push_arg():

  /* If this is an initial argument, set the high-water mark. */
  if (initial_args)
    {
      state->cmd_initial_argv_chars = state->cmd_argv_chars;
    }

I don't know how to fix this problem yet.
Attached test case demonstrates the issue.

Dmitry V. Levin <ldv>

 

Attached Files

Attached Files
file #2517:  findutils-bug-savannah-11865.patch added by jay (786B - text/x-patch - Fix)
file #2514:  iARG-s86.exp added by ldv (54B - xargs/testsuite/xargs.sysv/iARG-s86.exp)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-08 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.17
2005-02-06 jay StatusNone Fixed
    Assigned toNone jay
    Attached File- Added findutils-bug-savannah-11865.patch, #2160
2005-02-05 ldv Attached File- Added iARG-s86.exp, #2157

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code