Mercurial > hg > octave-shane
changeset 9983:2d347a2f4a0a
__makeinfo__: style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 14 Dec 2009 12:35:38 -0500 |
parents | 7cef030b8069 |
children | d1cc2e0ddf55 |
files | scripts/ChangeLog scripts/help/__makeinfo__.m |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-12-14 John W. Eaton <jwe@octave.org> + + * help/__makeinfo__.m: Use fullfile to concatenate file name + components. Use hyphens instead of underscores in tmp file name. + 2009-12-14 Jaroslav Hajek <highegg@gmail.com> * help/__makeinfo__.m: Use P_tmpdir to create temporary file.
--- a/scripts/help/__makeinfo__.m +++ b/scripts/help/__makeinfo__.m @@ -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