Mercurial > octave
view .editorconfig @ 28175:b895daca20e2 stable
Avoid potential lifetime issues with temporary std::wstring objects.
* sysdep.cc (F__open_with_system_app__, get_regkey_value, get_regkey_names),
file-ops.cc (rename), lo-sysdep.cc (get_dirlist, fopen, getenv_wrapper),
oct-shlib.cc (octave_w32_shlib): Explicitly create std::wstring object with
well-defined lifetime when passing the pointer to the underlying c_str to a
function.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 27 Mar 2020 08:52:33 +0100 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab