changeset 21593:e3888aa9a4d1

Restore tilde expansion for dlmread lost in fe5ed6d7fb10. * dlmread.cc (Fdlmread): Use 'tname', the tilde expanded version of fname, in the call to find_data_file_in_load_path.
author Rik <rik@octave.org>
date Thu, 07 Apr 2016 15:55:10 -0700
parents fe5ed6d7fb10
children 3933d5073baa
files libinterp/corefcn/dlmread.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/dlmread.cc	Wed Apr 06 17:11:01 2016 -0400
+++ b/libinterp/corefcn/dlmread.cc	Thu Apr 07 15:55:10 2016 -0700
@@ -215,7 +215,7 @@
 
       std::string tname = file_ops::tilde_expand (fname);
 
-      tname = find_data_file_in_load_path ("dlmread", fname);
+      tname = find_data_file_in_load_path ("dlmread", tname);
 
       input_file.open (tname.c_str (), std::ios::in);