After the #6519 a warning about stat() is just that,
[p5sagit/p5-mst-13.2.git] / pp_ctl.c
index 776754e..ce9e198 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3158,8 +3158,8 @@ trylocal: {
                else {
                    char *dir = SvPVx(dirsv, n_a);
 #ifdef MACOS_TRADITIONAL
-                   /* We have ensured in incpush that library ends with ':' */
-                   Perl_sv_setpvf(aTHX_ namesv, "%s%s", dir, name+(name[0] == ':'));
+                   char buf[256];
+                   Perl_sv_setpvf(aTHX_ namesv, "%s%s", MacPerl_CanonDir(dir, buf), name+(name[0] == ':'));
 #else
 #ifdef VMS
                    char *unixdir;