diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-05-15 19:37:25 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-05-15 19:37:25 +0100 |
commit | 9caf7b27294ac957e59743a84ed1c8811db6f276 (patch) | |
tree | 1e287b05d467be63a9b10d35fbf5993a76550f0a /gcc/fortran/expr.c | |
parent | 7a37fa90703f62301130a3e1ef7ad4fade1bd786 (diff) | |
download | gcc-9caf7b27294ac957e59743a84ed1c8811db6f276.zip gcc-9caf7b27294ac957e59743a84ed1c8811db6f276.tar.gz gcc-9caf7b27294ac957e59743a84ed1c8811db6f276.tar.bz2 |
ops.cc (stat_type): Define alias for struct stat and use throughout the file.
* src/filesystem/ops.cc (stat_type): Define alias for struct stat and
use throughout the file.
(make_file_type): New function.
(file_size(const path&, error_code&)): Report an error for anything
that isn't a regular file.
(status(const path&), symlink_status(const path&)): Do not throw for
file_type::not_found.
(temp_directory_path()): Check additional environment variables.
* testsuite/experimental/filesystem/operations/exists.cc: New.
* testsuite/experimental/filesystem/operations/file_size.cc: New.
* testsuite/experimental/filesystem/operations/status.cc: New.
* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
New.
From-SVN: r223224
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions