diff libinterp/corefcn/sysdep.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 43ad651cf5a0
children 2883b3d08b7e
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.cc	Tue Oct 13 13:24:54 2020 -0700
+++ b/libinterp/corefcn/sysdep.cc	Tue Oct 13 13:47:55 2020 -0700
@@ -300,7 +300,7 @@
 
   HANDLE h_proc = GetCurrentProcess ();
   if (h_proc == nullptr)
-    error ("__wmemory__: Couldn't open handle to own process.");
+    error ("__wmemory__: Couldn't open handle to own process");
 
   PROCESS_MEMORY_COUNTERS proc_mem_count;
   if (GetProcessMemoryInfo (h_proc, &proc_mem_count, sizeof (proc_mem_count)))
@@ -374,7 +374,7 @@
 
 #else
   octave_unused_parameter (args);
-  error ("__wmemory__: Function is only supported on Windows platforms.");
+  error ("__wmemory__: Function is only supported on Windows platforms");
 #endif
 }
 
@@ -1170,7 +1170,7 @@
       LONG retval = octave::get_regkey_value (h_rootkey, subkey_name,
                                               value_name, key_val);
       if (retval == ERROR_FILE_NOT_FOUND)
-        error ("winqueryreg: no value found for '%s' at %s\\%s.",
+        error ("winqueryreg: no value found for '%s' at %s\\%s",
                value_name.c_str (), rootkey_name.c_str (),
                subkey_name.c_str ());
       if (retval != ERROR_SUCCESS)