[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makeinfo and end-of-line format
From: |
Gavin Smith |
Subject: |
Re: makeinfo and end-of-line format |
Date: |
Thu, 11 Jun 2015 01:02:03 +0100 |
On 11 June 2015 at 00:19, Gavin Smith <address@hidden> wrote:
> I think that the "binmode" command needs to be used for this:
"binmode" is already used in Common.pm (open_out) if the encoding is
known. When are the \r bytes output under MS-Windows? You can test
this more easily than me.
Maybe the following is needed:
Index: Texinfo/Common.pm
===================================================================
--- Texinfo/Common.pm (revision 6302)
+++ Texinfo/Common.pm (working copy)
@@ -1069,6 +1069,8 @@ sub open_out($$;$)
binmode($filehandle, ':bytes');
}
binmode($filehandle, ":encoding($encoding)");
+ } else {
+ binmode($filehandle);
}
if ($self) {
push @{$self->{'opened_files'}}, $file;
- makeinfo and end-of-line format, Eli Zaretskii, 2015/06/10
- Re: makeinfo and end-of-line format, Gavin Smith, 2015/06/10
- Re: makeinfo and end-of-line format,
Gavin Smith <=
- Re: makeinfo and end-of-line format, Eli Zaretskii, 2015/06/11
- Re: makeinfo and end-of-line format, Karl Berry, 2015/06/14
- Re: makeinfo and end-of-line format, Eli Zaretskii, 2015/06/14
- Re: makeinfo and end-of-line format, Gavin Smith, 2015/06/15
- Re: makeinfo and end-of-line format, Patrice Dumas, 2015/06/15
- Re: makeinfo and end-of-line format, Gavin Smith, 2015/06/15
- Re: makeinfo and end-of-line format, Eli Zaretskii, 2015/06/16
- Re: makeinfo and end-of-line format, Gavin Smith, 2015/06/16
- Re: makeinfo and end-of-line format, Eli Zaretskii, 2015/06/18