Mercurial > octave
diff libinterp/corefcn/load-path.h @ 32090:7d663f770c5a
load-path: Avoid using file_stat on Windows (bug #59711).
* liboctave/system/oct-time.h, oct-time.cc (octave::sys::file_time): New class
to handle an efficient native file time type per platform.
* libinterp/corefcn/load-path.h (load_path::dir_info::dir_mtime,
load_path::dir_info::dir_time_last_checked): Change type to new class.
* libinterp/corefcn/load-path.cc (subdirs_modified, load_path::dir_info::update,
load_path::dir_info::initialize): Avoid using file_stat on Windows.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 13 May 2023 13:33:57 +0200 |
parents | 1daf8bfceac3 |
children | fbadf4ce94c7 |
line wrap: on
line diff
--- a/libinterp/corefcn/load-path.h Fri May 12 08:03:14 2023 +0200 +++ b/libinterp/corefcn/load-path.h Sat May 13 13:33:57 2023 +0200 @@ -289,8 +289,8 @@ std::string dir_name; std::string abs_dir_name; bool is_relative; - sys::time dir_mtime; - sys::time dir_time_last_checked; + sys::file_time dir_mtime; + sys::file_time dir_time_last_checked; string_vector all_files; string_vector fcn_files; fcn_file_map_type private_file_map;