Re: [ID 20020213.001] "Unknown error" as a message from compilation
Rafael Garcia-Suarez [Sat, 16 Feb 2002 00:06:01 +0000 (01:06 +0100)]
   Message-Id: <20020216000601.A17249@rafael>

p4raw-id: //depot/perl@14745

gv.c

diff --git a/gv.c b/gv.c
index 90d4152..e603704 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -498,7 +498,7 @@ S_require_errno(pTHX_ GV *gv)
        PUTBACK;
        ENTER;
        save_scalar(gv); /* keep the value of $! */
-       require_pv("Errno.pm");
+       load_module(aTHX_ PERL_LOADMOD_NOIMPORT, newSVpvn("Errno",5), Nullsv);
        LEAVE;
        SPAGAIN;
        stash = gv_stashpvn("Errno",5,FALSE);