summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorChris Nandor <pudge@pobox.com>2001-04-16 20:30:49 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-17 11:35:42 +0000
commit6eb630b73347b42c0fa5d74c89e91392e903f094 (patch)
tree275229e8c0dd698a2c0736932e124b624a397390 /gv.c
parente1e60e72cae3fbc1189509c5481238911f454532 (diff)
downloadperl-6eb630b73347b42c0fa5d74c89e91392e903f094.tar.gz
[MacPerl-Porters] [PATCH] bsd_glob.c, gv.c fixes for Mac OS
Message-Id: <p05100207b701768712de@[10.0.1.177]> p4raw-id: //depot/perl@9720
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 83516139a7..117667c07d 100644
--- a/gv.c
+++ b/gv.c
@@ -1081,7 +1081,12 @@ Perl_gv_check(pTHX_ HV *stash)
* module, don't bother warning */
if (file
&& PERL_FILE_IS_ABSOLUTE(file)
- && (instr(file, "/lib/") || instr(file, ".pm")))
+#ifdef MACOS_TRADITIONAL
+ && (instr(file, ":lib:")
+#else
+ && (instr(file, "/lib/")
+#endif
+ || instr(file, ".pm")))
{
continue;
}