From: Jan Dubois Date: Wed, 21 Apr 2010 23:49:09 +0000 (-0700) Subject: XSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=20c8f8f9118fd23081c818637815bf1aab60b808;p=p5sagit%2Fp5-mst-13.2.git 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 --- 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