A placeholder.
[p5sagit/p5-mst-13.2.git] / util.h
diff --git a/util.h b/util.h
index e01f0ec..d188e34 100644 (file)
--- a/util.h
+++ b/util.h
@@ -27,7 +27,7 @@
         || ((f)[0] && (f)[1] == ':'))          /* drive name */
 #    else      /* NEITHER DOSISH NOR EPOCISH */
 #      ifdef MACOS_TRADITIONAL
-#        define PERL_FILE_IS_ABSOLUTE(f)       (strchr(f, ':'))
+#        define PERL_FILE_IS_ABSOLUTE(f)       (strchr(f, ':') && *(f) != ':')
 #      else /* !MACOS_TRADITIONAL */
 #        define PERL_FILE_IS_ABSOLUTE(f)       (*(f) == '/')
 #      endif /* MACOS_TRADITIONAL */