# HG changeset patch # User Mike Miller # Date 1395978122 14400 # Node ID 2633b5f3106a6b6ab8bedaca9a7070663322dc52 # Parent 3e53eca42f00651f7978f1d09fe088d9d01c3938 __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. diff -r 3e53eca42f00 -r 2633b5f3106a scripts/help/__makeinfo__.m --- 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