Mercurial > octave-nkf
changeset 18631:2633b5f3106a stable
__makeinfo__: Process Texinfo docstrings without type conversion (bug #41965)
* __makeinfo__.m: Use fprintf instead of fwrite to pass Texinfo docstrings to
the makeinfo program without type conversion.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 27 Mar 2014 23:42:02 -0400 |
parents | 3e53eca42f00 |
children | e7369c43ebe0 |
files | scripts/help/__makeinfo__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m Thu Feb 27 21:13:59 2014 +0100 +++ b/scripts/help/__makeinfo__.m Thu Mar 27 23:42:02 2014 -0400 @@ -123,7 +123,7 @@ if (fid < 0) error ("__makeinfo__: could not create temporary file"); endif - fwrite (fid, text); + fprintf (fid, "%s", text); fclose (fid); ## Take action depending on output type