Mercurial > octave
view src/octave-build-info.in.cc @ 30243:a4061ae5ff79
Use UTF-8 file API if supported by HDF5 library.
* m4/acinclude.m4 (OCTAVE_CHECK_HDF5_HAS_UTF8_API): Add test to check if HDF5
library uses UTF-8 file API on Windows (version 1.12 or newer).
* configure.ac (HDF5): Run new configure test.
* libinterp/corefcn/ls-hdf5.cc (hdf5_fstreambase::open_create),
libinterp/corefcn/load-save.cc (load_save_system::get_file_format,
load_save_system::save): The kludge that was used to work with non-ASCII
characters in HDF5 file names can be removed if the used version of HDF5
supports UTF-8 encoded file names.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 19 Oct 2021 14:26:04 +0200 |
parents | 0a5b15007766 |
children | 796f54d4ddbf |
line wrap: on
line source
// %NO_EDIT_WARNING% //////////////////////////////////////////////////////////////////////// // // Copyright (C) 2016-2021 The Octave Project Developers // // See the file COPYRIGHT.md in the top-level directory of this // distribution or <https://octave.org/copyright/>. // // This file is part of Octave. // // Octave is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Octave is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Octave; see the file COPYING. If not, see // <https://www.gnu.org/licenses/>. // //////////////////////////////////////////////////////////////////////// #if defined (HAVE_CONFIG_H) # include "config.h" #endif #include "octave-build-info.h" std::string octave_hg_id (void) { return "%OCTAVE_HG_ID%"; }