Message-ID: <Pine.GSO.4.21.
0106011412520.21027-100000@crusoe.crusoe.net>
p4raw-id: //depot/perl@10383
my $abs_name= $cdir . $fn;
if (substr($fn,0,3) eq '../') {
- do 1 while ($abs_name=~ s|/(?>[^/]+)/\.\./|/|);
+ 1 while $abs_name =~ s!/[^/]*/\.\./!/!;
}
return $abs_name;