diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2023-09-19 09:45:16 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-10-10 14:12:28 +0200 |
commit | 34992e156b6a4d737440e675b86cd2f8ac103363 (patch) | |
tree | d48f1b3a606930ba2837a089d5ae17703c3592a4 /gcc/fold-const.cc | |
parent | f71c6312b64a9115ce6243ec12affc9d444033a5 (diff) | |
download | gcc-34992e156b6a4d737440e675b86cd2f8ac103363.zip gcc-34992e156b6a4d737440e675b86cd2f8ac103363.tar.gz gcc-34992e156b6a4d737440e675b86cd2f8ac103363.tar.bz2 |
ada: Fix filesystem entry filtering
This patch fixes the behavior of Ada.Directories.Search when being
requested to filter out regular files or directories. One of the
configurations in which that behavior was incorrect was that when the
caller requested only the regular and special files but not the
directories, the directories would still be returned.
gcc/ada/
* libgnat/a-direct.adb: Fix filesystem entry filtering.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions