summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-02 19:33:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-02 19:33:29 +0000
commitfe324f5219fabe555722b32dabaa379e79d84a16 (patch)
treea590bb4cbd5bfcf701ffdb6d71b1f9f02440f715 /op.c
parent83ad58fb42d89656d46eea4aaba931acc1b9c87c (diff)
downloadperl-fe324f5219fabe555722b32dabaa379e79d84a16.tar.gz
For now, make "incorrect case" a Win32-only warning.
p4raw-id: //depot/perl@14949
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.c b/op.c
index a03f0e5875..1af8113669 100644
--- a/op.c
+++ b/op.c
@@ -3451,11 +3451,13 @@ Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *id, OP *arg)
newSTATEOP(0, Nullch, imop) ));
if (packname) {
+#ifdef WIN32
if (ckWARN(WARN_MISC) && !gv_stashpvn(packname, packlen, FALSE)) {
Perl_warner(aTHX_ WARN_MISC,
"Package `%s' not found "
"(did you use the incorrect case?)", packname);
}
+#endif
safefree(packname);
}