Mercurial > octave
diff libinterp/corefcn/input.cc @ 28905:89a425f2c202
maint: Use Octave convention that error() messages don't end with a period.
* __magick_read__.cc, graphics.cc, input.cc, sysdep.cc, cdef-object.cc,
profiler.cc, __uiobject_split_args__.m, imformats.m, ind2rgb.m, strread.m,
edit.m, nargoutchk.m, display_info_file.m, substruct.m, configure_make.m,
camlookat.m, camorbit.m, copyobj.m, graphics_toolkit.m, __print_parse_opts__.m,
ichol.m, ilu.m, gallery.m, strtok.m:
Delete period from end of messages used in calls to error().
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Oct 2020 13:47:55 -0700 |
parents | 06c8e0877864 |
children | dff830c84726 |
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc Tue Oct 13 13:24:54 2020 -0700 +++ b/libinterp/corefcn/input.cc Tue Oct 13 13:47:55 2020 -0700 @@ -525,7 +525,7 @@ error ("__mfile_encoding__: conversion from encoding '%s' " "not supported", encoding.c_str ()); else - error ("__mfile_encoding__: error %d opening encoding '%s'.", + error ("__mfile_encoding__: error %d opening encoding '%s'", errno, encoding.c_str ()); } else