# HG changeset patch # User John W. Eaton # Date 1260812138 18000 # Node ID 2d347a2f4a0a85f036360f579d65edb15dc88539 # Parent 7cef030b806966143094d27299499da2b0103f9d __makeinfo__: style fixes diff -r 7cef030b8069 -r 2d347a2f4a0a scripts/ChangeLog --- a/scripts/ChangeLog Mon Dec 14 15:22:26 2009 +0100 +++ b/scripts/ChangeLog Mon Dec 14 12:35:38 2009 -0500 @@ -1,3 +1,8 @@ +2009-12-14 John W. Eaton + + * help/__makeinfo__.m: Use fullfile to concatenate file name + components. Use hyphens instead of underscores in tmp file name. + 2009-12-14 Jaroslav Hajek * help/__makeinfo__.m: Use P_tmpdir to create temporary file. diff -r 7cef030b8069 -r 2d347a2f4a0a scripts/help/__makeinfo__.m --- a/scripts/help/__makeinfo__.m Mon Dec 14 15:22:26 2009 +0100 +++ b/scripts/help/__makeinfo__.m Mon Dec 14 12:35:38 2009 -0500 @@ -124,8 +124,8 @@ unwind_protect ## Write Texinfo to tmp file - template = "octave_help_XXXXXX"; - [fid, name, msg] = mkstemp ([P_tmpdir, filesep, template], true); + template = "octave-help-XXXXXX"; + [fid, name, msg] = mkstemp (fullfile (P_tmpdir, template), true); if (fid < 0) error ("__makeinfo__: could not create temporary file"); endif