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
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

Add a New Comment Rich Markup
   

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>

 

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

Attach Files:
   
   
Comment:
   

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)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 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.13-f8d8.
Corresponding source code