This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
634b482
)
XSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't.
author
Jan Dubois
<jand@activestate.com>
Wed, 21 Apr 2010 23:49:09 +0000
(16:49 -0700)
committer
Jan Dubois
<jand@activestate.com>
Wed, 21 Apr 2010 23:49:09 +0000
(16:49 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/XSUB.h
b/XSUB.h
index
f23df37
..
06cb1c3
100644
(file)
--- a/
XSUB.h
+++ b/
XSUB.h
@@
-507,6
+507,7
@@
Rethrows a previously caught exception. See L<perlguts/"Exception Handling">.
# 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