[nant-dev] [ nant-Bugs-1232495 ] FileUtils::CombinePaths mishandles .\..

2005-07-05 Thread SourceForge.net
Bugs item #1232495, was opened at 2005-07-04 22:12
Message generated for change (Comment added) made by tam4
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ted Mielczarek (tam4)
Assigned to: Nobody/Anonymous (nobody)
Summary: FileUtils::CombinePaths mishandles .\..

Initial Comment:
Given a path2 containing .\..,
FileUtils::CombinePaths does not produce the correct
path.  For example:
CombinePaths(@c:\test\foo, @.\..\bar) ought to
produce c:\test\bar, but instead it produces
c:\test\foo\bar.  The problem is that .. just
removes the previous path element, which in this case
is the ..  The simple solution is to just ignore .
as a path element.

I am attaching a patch that makes this simple change,
but I can't test it because my nant builds all throw an
exception trying to load the log4net dll for some reason.


--

Comment By: Ted Mielczarek (tam4)
Date: 2005-07-05 08:42

Message:
Logged In: YES 
user_id=106948

I'm using .NET 1.1.  I've never installed mono on this computer.


--

Comment By: Gert Driesen (drieseng)
Date: 2005-07-05 00:36

Message:
Logged In: YES 
user_id=707851

I'll look into it later. About the log4net issue: are you by any 
chance using Mono ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1232495 ] FileUtils::CombinePaths mishandles .\..

2005-07-04 Thread SourceForge.net
Bugs item #1232495, was opened at 2005-07-04 22:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ted Mielczarek (tam4)
Assigned to: Nobody/Anonymous (nobody)
Summary: FileUtils::CombinePaths mishandles .\..

Initial Comment:
Given a path2 containing .\..,
FileUtils::CombinePaths does not produce the correct
path.  For example:
CombinePaths(@c:\test\foo, @.\..\bar) ought to
produce c:\test\bar, but instead it produces
c:\test\foo\bar.  The problem is that .. just
removes the previous path element, which in this case
is the ..  The simple solution is to just ignore .
as a path element.

I am attaching a patch that makes this simple change,
but I can't test it because my nant builds all throw an
exception trying to load the log4net dll for some reason.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1232495 ] FileUtils::CombinePaths mishandles .\..

2005-07-04 Thread SourceForge.net
Bugs item #1232495, was opened at 2005-07-05 04:12
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ted Mielczarek (tam4)
Assigned to: Nobody/Anonymous (nobody)
Summary: FileUtils::CombinePaths mishandles .\..

Initial Comment:
Given a path2 containing .\..,
FileUtils::CombinePaths does not produce the correct
path.  For example:
CombinePaths(@c:\test\foo, @.\..\bar) ought to
produce c:\test\bar, but instead it produces
c:\test\foo\bar.  The problem is that .. just
removes the previous path element, which in this case
is the ..  The simple solution is to just ignore .
as a path element.

I am attaching a patch that makes this simple change,
but I can't test it because my nant builds all throw an
exception trying to load the log4net dll for some reason.


--

Comment By: Gert Driesen (drieseng)
Date: 2005-07-05 06:36

Message:
Logged In: YES 
user_id=707851

I'll look into it later. About the log4net issue: are you by any 
chance using Mono ?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1232495group_id=31650


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers