Mercurial > octave
diff libinterp/corefcn/sysdep.h @ 26843:f07542e3a9b9
Fix "exist" for drive letters and UNC shares on Windows (bug #55824).
* sysdep.[h,cc] (drive_or_unc_share): New function.
* variables.cc (symbol_exist): Use this function.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 05 Mar 2019 22:24:00 +0100 |
parents | 00f796120a6d |
children | b442ec6dda5c |
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.h Tue Mar 05 22:04:24 2019 +0100 +++ b/libinterp/corefcn/sysdep.h Tue Mar 05 22:24:00 2019 +0100 @@ -52,6 +52,8 @@ extern OCTINTERP_API bool same_file_internal (const std::string&, const std::string&); + + extern OCTINTERP_API bool drive_or_unc_share (const std::string&); } #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)