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: xargsSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.2.16Fixed 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 File(s):
   
   
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 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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 08 Feb 2005 12:24:58 AM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.17
Sun 06 Feb 2005 12:46:21 AM UTCjayStatusNone=>Fixed
  Assigned toNone=>jay
  Attached File-=>Added findutils-bug-savannah-11865.patch, #2160
Sat 05 Feb 2005 10:55:19 PM UTCldvAttached File-=>Added iARG-s86.exp, #2157

Back to the top


Powered by Savane 3.1-cleanup1