Subject: | binmode() fix |
Only in PerlIO-subfile-0.08-my: Makefile.old
diff -u PerlIO-subfile-0.08/subfile.xs PerlIO-subfile-0.08-my/subfile.xs
Apply this patch to address binmode(FH) problem.
--- PerlIO-subfile-0.08/subfile.xs 2004-05-14 00:39:29.000000000 +0400
+++ PerlIO-subfile-0.08-my/subfile.xs 2009-04-01 00:17:26.000000000 +0400
@@ -296,7 +296,7 @@
sizeof(PerlIO_funcs),
"subfile",
sizeof(PerlIOSubfile),
- PERLIO_K_BUFFERED,
+ PERLIO_K_BUFFERED|PERLIO_K_RAW,
PerlIOSubfile_pushed,
PerlIOBase_noop_ok,
PerlIOBuf_open,
Common subdirectories: PerlIO-subfile-0.08/t and PerlIO-subfile-0.08-my/t