diff options
author | Steve Baird <baird@adacore.com> | 2024-03-08 15:48:32 -0800 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-17 10:21:04 +0200 |
commit | 615c29a8c5d47a28887087d3ff49b9df7f74fe9e (patch) | |
tree | de666d57d0f164ea0ba9cc565cea806eb4d8a555 /libcpp | |
parent | 591ddf34a1e759560d89627eefae1d0e13b61ee8 (diff) | |
download | gcc-615c29a8c5d47a28887087d3ff49b9df7f74fe9e.zip gcc-615c29a8c5d47a28887087d3ff49b9df7f74fe9e.tar.gz gcc-615c29a8c5d47a28887087d3ff49b9df7f74fe9e.tar.bz2 |
ada: Do not query the modification time of a special file.
In Ada.Directories, the function Modification_Time raises Name_Error if it is
called for a special file. So don't do that in Start_Search_Internal.
gcc/ada/
* libgnat/a-direct.adb (Start_Search_Internal): Do not call
Modification_Time for a special file; declare a Calendar.Time
constant No_Time and use that instead.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions