This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [ID 20020213.001] "Unknown error" as a message from compilation
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 16 Feb 2002 00:06:01 +0000 (01:06 +0100)
committerAbhijit Menon-Sen <ams@wiw.org>
Mon, 18 Feb 2002 15:20:44 +0000 (15:20 +0000)
   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);