From 20c8f8f9118fd23081c818637815bf1aab60b808 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Wed, 21 Apr 2010 16:49:09 -0700 Subject: [PATCH 1/1] XSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't. See also http://rt.cpan.org/Public/Bug/Display.html?id=55049 with workaround in http://code.google.com/p/perl-devel-nytprof/source/detail?r=1168 --- XSUB.h | 1 + 1 file changed, 1 insertion(+) diff --git a/XSUB.h b/XSUB.h index f23df37..06cb1c3 100644 --- a/XSUB.h +++ b/XSUB.h @@ -507,6 +507,7 @@ Rethrows a previously caught exception. See L. # define ferror PerlSIO_ferror # define clearerr PerlSIO_clearerr # define getc PerlSIO_getc +# define fgets PerlSIO_fgets # define fputc PerlSIO_fputc # define fputs PerlSIO_fputs # define fflush PerlSIO_fflush -- 1.8.3.1