diff NEWS @ 19064:9ef10e6a5987

make "file found in path" warnings consistent * gripes.h, gripes.cc (gripe_data_file_in_path): New function. * utils.h, utils.cc (find_data_file_in_path): New function. Use gripe_data_file_in_path to warn. * file-io.cc (do_stream_open): Call find_data_file_in_path to search path for file. * load-save.cc (find_file_to_load): Likewise. * md5sum.cc (Fmd5sum): Likewise. * octave.cc (maximum_braindamage): Disable new Octave:data-file-in-path warning ID instead of Octave:fopen-file-in-path and Octave:load-file-in-path. * NEWS: Note change.
author John W. Eaton <jwe@octave.org>
date Tue, 19 Aug 2014 06:40:53 -0400
parents d1c649bd90e9
children ff820f92cbb5
line wrap: on
line diff
--- a/NEWS	Mon Aug 18 20:46:07 2014 -0700
+++ b/NEWS	Tue Aug 19 06:40:53 2014 -0400
@@ -54,6 +54,10 @@
     To unlink properties use 'clear hlink' where hlink is the variable
     containing the linkprop object.
 
+ ** The new warning ID "Octave:data-file-in-path" replaces the three
+    previous separate warning IDs "Octave:fopen-file-in-path",
+    "Octave:load-file-in-path", and "Octave:md5sum-file-in-path".
+
  ** Other new functions added in 4.2:
 
       bandwidth            isbanded        javachk