aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2024-03-08 15:48:32 -0800
committerMarc Poulhiès <poulhies@adacore.com>2024-05-17 10:21:04 +0200
commit615c29a8c5d47a28887087d3ff49b9df7f74fe9e (patch)
treede666d57d0f164ea0ba9cc565cea806eb4d8a555 /libcpp
parent591ddf34a1e759560d89627eefae1d0e13b61ee8 (diff)
downloadgcc-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