View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000916ITKpublic2004-06-07 13:382009-04-07 06:34
ReporterMathieu Malaterre 
Assigned ToBrad Davis 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000916: IOCommon duplicate code from SystemTools
DescriptionThere is duplicated code from SystemTools.cxx in itkIOCommon.[h cxx]
It would be nice if we either mark it as deprecated or use SystemTools calls instead.
TagsNo tags attached.
Resolution Date
Sprint Status
Attached Files


Luis Ibanez (manager)
2007-09-18 11:05

This is not a bug, but a nice thing to have to be consistent with the functions in kwsys.

We will address it in WA10.

The internal implementation of the methods will be replaced with calls to kwsys methods.
Brad Davis (developer)
2008-05-09 14:14

The ITK and kwsys functions return slightly different results. For example, ITK does not return the '.' in the extension but kwsys does. Also, ITK returns a final '/' on a path, but kwsys strips it.

So, we can wrap the kwsys functions with some logic that makes these modifications.

However, it will be best if developers use the kwsys calls directly.

Right now I'm waiting on an apparent bug in kwsys.
Brad Davis (developer)
2008-05-26 10:17

In order to maintain backwards compatibility, we will keep the current implementations but deprecate them.
Brad Davis (developer)
2008-05-26 12:02

Deprecated methods and added tests. I decided not to call kwsys methods directly because the rules regarding trailing slashes, dots for extensions, etc. differed and it would be a fragile mess to translate back and forth.

Diffs: [^] [^] [^] [^] [^] [^]

 Issue History
Date Modified Username Field Change
2007-09-18 11:05 Luis Ibanez Note Added: 0009071
2008-04-29 10:21 Luis Ibanez Assigned To Brad King => Brad Davis
2008-05-09 14:14 Brad Davis Note Added: 0011780
2008-05-26 10:17 Brad Davis Note Added: 0012105
2008-05-26 12:02 Brad Davis Status assigned => resolved
2008-05-26 12:02 Brad Davis Resolution open => fixed
2008-05-26 12:02 Brad Davis Note Added: 0012108
2009-04-07 06:34 Marius Staring Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team