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

 
 

bug #11865: xargs -i regression

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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

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