<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>M3Path.FixPath had some flaws, mainly:<BR> it uses a fixed size array to store the locations of path separators<BR> in the presence of too many separators, it'd ignore stuff<BR> every occurence of . or .. causes it to restart its work (after removing it)<BR>
<BR>I have written a new version with these aspects fixed.<BR>
<BR>Anyone care to try it out?<BR>
<BR>diff and m3path.m3 attached.<BR>
There's a small test harness built in, disabled.<BR>
You can feed strings through the old and new and compare.<BR>
They don't always match. I think my results are "more correct".<BR>
<BR>
Thanks,<BR> - Jay<BR><BR><br /><hr />Climb to the top of the charts! Play the word scramble challenge with star power. <a href='http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan' target='_new'>Play now!</a></body>
</html>