Mercurial > octave
changeset 21592:fe5ed6d7fb10
* dlmread.cc (Fdlmread): Search loadpath for file (bug #47628).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 06 Apr 2016 17:11:01 -0400 |
parents | ec77a07e4220 |
children | e3888aa9a4d1 |
files | libinterp/corefcn/dlmread.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/dlmread.cc Wed Apr 06 12:52:40 2016 -0700 +++ b/libinterp/corefcn/dlmread.cc Wed Apr 06 17:11:01 2016 -0400 @@ -215,6 +215,8 @@ std::string tname = file_ops::tilde_expand (fname); + tname = find_data_file_in_load_path ("dlmread", fname); + input_file.open (tname.c_str (), std::ios::in); if (! input_file)