aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_pack_i2.c
diff options
context:
space:
mode:
authorPatrick Bernardi <bernardi@adacore.com>2021-12-22 16:32:41 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2022-01-07 16:24:15 +0000
commita64478660ee95930773d356760e39e05fe0147fe (patch)
tree9ac3b7f48f09479a3ad723ac9949166aa3afd7e2 /libgfortran/generated/in_pack_i2.c
parent9b573d421a457852da09253f966246fcc0e16a27 (diff)
downloadgcc-a64478660ee95930773d356760e39e05fe0147fe.zip
gcc-a64478660ee95930773d356760e39e05fe0147fe.tar.gz
gcc-a64478660ee95930773d356760e39e05fe0147fe.tar.bz2
[Ada] Read directory in Ada.Directories.Start_Search rather than Get_Next_Entry
gcc/ada/ * libgnat/a-direct.adb (Search_Data): Remove type. (Directory_Vectors): New package instantiation. (Search_State): New type. (Fetch_Next_Entry): Remove. (Close): Remove. (Finalize): Rewritten. (Full_Name): Ditto. (Get_Next_Entry): Return next entry from Search results vector rather than querying the directory directly using readdir. (Kind): Rewritten. (Modification_Time): Rewritten. (More_Entries): Use Search state cursor to determine if more entries are available for users to read. (Simple_Name): Rewritten. (Size): Rewritten. (Start_Search_Internal): Rewritten to load the contents of the directory that matches the pattern and filter into the search object. * libgnat/a-direct.ads (Search_Type): New type. (Search_Ptr): Ditto. (Directory_Entry_Type): Rewritten to support new Start_Search procedure. * libgnat/s-filatt.ads (File_Length_Attr): New function.
Diffstat (limited to 'libgfortran/generated/in_pack_i2.c')
0 files changed, 0 insertions, 0 deletions