Bugs item #881728, was opened at 2004-01-21 22:20
Message generated for change (Settings changed) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=881728&group_id=31650

Category: None
>Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Craig Neuwirt (cneuwirt)
Assigned to: Nobody/Anonymous (nobody)
Summary: NAnt.Core.Types.FilterSet bug

Initial Comment:
While creating an augmented CopyTask to include 
replacement capabilities comprable to Ant, I discovered 
a bug in NAnt.Core/Types/FilterSet.cs class.

Line 130 originally reads
   b.Append(line.Substring(i, index));

However, the second parameter of SubString should be 
a length and not and index.  As a result, the above code 
will generate and error on lines with multiple tokens.  It 
should be replaced with

   b.Append(line.Substring(i, index - i));

Thanks,
  craig

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2004-02-05 19:09

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

Thanks for the report !

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=881728&group_id=31650


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to