dodirseparators() routines + added test (only testable under Windows) git-svn-id: branches/cpstrrtl@25089 -