diff options
author | Frederic Konrad <konrad@adacore.com> | 2019-09-18 08:32:09 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-18 08:32:09 +0000 |
commit | 82fa20a21141a1394d7188b21eb9c486ab16f8ea (patch) | |
tree | e4cc10899843041c704b49ef285999ee901245a5 /gcc/gimplify.c | |
parent | dcbe49a6c41e586e961664512726799a540757ee (diff) | |
download | gcc-82fa20a21141a1394d7188b21eb9c486ab16f8ea.zip gcc-82fa20a21141a1394d7188b21eb9c486ab16f8ea.tar.gz gcc-82fa20a21141a1394d7188b21eb9c486ab16f8ea.tar.bz2 |
[Ada] Fix errno for rename for the VxWorks 6 target
This fixes the wrong errno for rename when the file is not existing on a
dosFs. In the end it makes Ada.Directories.Rename raising the right
exception in the case we are trying to move a file in a non existing
directory.
2019-09-18 Frederic Konrad <konrad@adacore.com>
gcc/ada/
* adaint.c: Include dosFsLib.h and vwModNum.h for VxWorks 6.
(__gnat_rename): Map S_dosFsLib_FILE_NOT_FOUND to ENOENT.
From-SVN: r275846
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions