diff libinterp/corefcn/file-io.cc @ 20713:2469d78a1d8b

Consistently use 'filename' rather than 'file name' throughout code base. * bootstrap, configure.ac, basics.txi, gui.txi, io.txi, mkoctfile.1, __init_qt__.cc, dialog.cc, files-dock-widget.cc, find-files-dialog.cc, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, shortcut-manager.cc, debug.cc, dirfns.cc, dlmread.cc, file-io.cc, input.cc, load-path.h, load-save.cc, symtab.h, sysdep.cc, utils.cc, variables.cc, zfstream.h, oct-parse.in.yy, dir-ops.cc, file-ops.h, cmd-hist.cc, cmd-hist.h, octave_tmp_file_name.m, uigetfile.m, uiputfile.m, imshow.m, imageIO.m, dlmwrite.m, importdata.m, copyfile.m, edit.m, mkoctfile.m, movefile.m, open.m, perl.m, python.m, run.m, tmpnam.m, unpack.m, fminsearch.m, configure_make.m, print.m, __print_parse_opts__.m, test.m, main.in.cc, mkoctfile.in.cc, module.mk: Consistently use 'filename' rather than 'file name' throughout code base.
author Rik <rik@octave.org>
date Wed, 18 Nov 2015 15:48:27 -0800
parents 571508c1ed06
children a5ab31b52ae8
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc	Wed Nov 18 15:44:33 2015 -0500
+++ b/libinterp/corefcn/file-io.cc	Wed Nov 18 15:48:27 2015 -0800
@@ -538,7 +538,7 @@
 
   fid = -1;
 
-  std::string name = tc_name.xstring_value ("%s: file name must be a string", fcn);
+  std::string name = tc_name.xstring_value ("%s: filename must be a string", fcn);
   std::string mode = tc_mode.xstring_value ("%s: file mode must be a string", fcn);
   std::string arch = tc_arch.xstring_value ("%s: architecture type must be a string", fcn);
 
@@ -1846,7 +1846,7 @@
 @deftypefn  {Built-in Function} {@var{fname} =} tempname ()\n\
 @deftypefnx {Built-in Function} {@var{fname} =} tempname (@var{dir})\n\
 @deftypefnx {Built-in Function} {@var{fname} =} tempname (@var{dir}, @var{prefix})\n\
-Return a unique temporary file name as a string.\n\
+Return a unique temporary filename as a string.\n\
 \n\
 If @var{prefix} is omitted, a value of @qcode{\"oct-\"} is used.\n\
 \n\