diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 09:00:13 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 09:00:13 +0000 |
commit | c9a428449e505030e0cbacc2b8697ef2166d06cb (patch) | |
tree | a805cdf58bf82e42b382e600607214a93b0ebbf1 /gcc/ada/a-direct.ads | |
parent | 30f0f264ff156bfdced6a25ca0e3d23a8bed2eea (diff) | |
download | gcc-c9a428449e505030e0cbacc2b8697ef2166d06cb.tar.gz |
2005-06-10 Arnaud Charlet <charlet@adacore.com>
* Makefile.in: Add initialize.o when needed.
Adapt to new VMS package body Symbols and subunits
No specialized version of a-sytaco is needed for VxWorks.
* a-wichun.ads, a-wichun.adb, a-zchuni.ads, a-zchuni.adb: New files.
* a-zchara.ads, a-widcha.ads: New files.
* system-hpux-ia64.ads: New file.
* i-vxwork-x86.ads, i-vxwork.ads (intContext): Add this function which
is imported from the VxWorks kernel.
2005-06-14 Robert Dewar <dewar@adacore.com>
* g-soliop-mingw.ads, g-soccon-vms.adb, a-swmwco.ads, exp_smem.adb,
fmap.adb, a-szmzco.ads, s-traent-vms.adb, s-traent-vms.ads,
a-direio.ads, a-exctra.ads, a-exexda.adb, a-exextr.adb, a-stream.ads,
s-restri.ads, s-restri.adb, s-traent.adb, s-traent.ads, a-slcain.adb,
a-stzhas.ads, a-tiinau.adb, comperr.adb, exp_ch11.adb, g-boubuf.adb,
g-calend.adb, g-debpoo.ads, g-moreex.ads, gprep.adb, g-regpat.ads,
i-cexten.ads, i-os2thr.ads, makeutl.ads, memroot.adb, mlib-prj.adb,
namet.adb, namet.ads, prj-makr.adb, prj-proc.adb, sem_dist.adb,
sem_elim.ads, s-valint.adb, s-vallli.adb, s-vallli.adb, s-vallli.ads,
s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads, scn.adb,
s-tasinf.adb, targparm.adb, uname.adb, uname.ads, xnmake.adb,
xsinfo.adb, a-direct.ads: Remove extra blank lines. Minor reformatting.
2005-06-14 Thomas Quinot <quinot@adacore.com>
* xeinfo.adb: Fix typo in comment
2005-06-14 Javier Miranda <miranda@adacore.com>
* repinfo.ads: Fix typo in comment
2005-06-14 Gary Dismukes <dismukes@adacore.com>
* s-finimp.adb (Parent_Tag): Delete this imported function (function
Parent_Tag is now in the visible part of Ada.Tags).
(Get_Deep_Controller): Call Ada.Tags.Parent_Tag directly instead of
using imported function.
2005-06-14 Bernard Banner <banner@adacore.com>
* vxaddr2line.adb: Add support for Windows hosted x86 vxworks. Should
also apply for handling support for VxSim 653.
2005-06-14 Eric Botcazou <ebotcazou@adacore.com>
* xsnames.adb: Add automatic generation of snames.h.
2005-06-14 Thomas Quinot <quinot@adacore.com>
* gen-soccon.c: Add IP_MULTICAST_IF constant
Minor reformatting and adjustments to prevent warnings.
2005-06-14 Pascal Obry <obry@adacore.com>
* seh_init.c: Do not include <sys/stat.h>. This is not needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-direct.ads')
-rw-r--r-- | gcc/ada/a-direct.ads | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gcc/ada/a-direct.ads b/gcc/ada/a-direct.ads index 5047cc76bd5..d16e2f68826 100644 --- a/gcc/ada/a-direct.ads +++ b/gcc/ada/a-direct.ads @@ -178,8 +178,9 @@ package Ada.Directories is -- and form given by Form, or copying of the file with the name given by -- Source_Name (in the absence of Name_Error). - - -- File and directory name operations: + ---------------------------------------- + -- File and directory name operations -- + ---------------------------------------- function Full_Name (Name : String) return String; -- Returns the full name corresponding to the file name specified by Name. @@ -231,15 +232,16 @@ package Ada.Directories is -- Name is not a possible simple name (if Extension is null) or base name -- (if Extension is non-null). - - -- File and directory queries: + -------------------------------- + -- File and directory queries -- + -------------------------------- type File_Kind is (Directory, Ordinary_File, Special_File); -- The type File_Kind represents the kind of file represented by an -- external file or directory. type File_Size is range 0 .. Long_Long_Integer'Last; - -- The type File_Size represents the size of an external file. + -- The type File_Size represents the size of an external file function Exists (Name : String) return Boolean; -- Returns True if external file represented by Name exists, and False @@ -403,19 +405,16 @@ private -- Search_Type need to be a controlled type, because it includes component -- of type Dir_Type (in GNAT.Directory_Operations) that need to be closed - -- (if opened) during finalization. - -- The component need to be an access value, because Search_Data is not - -- fully defined in the spec. + -- (if opened) during finalization. The component need to be an access + -- value, because Search_Data is not fully defined in the spec. type Search_Type is new Ada.Finalization.Controlled with record Value : Search_Ptr; end record; procedure Finalize (Search : in out Search_Type); - -- Close the directory, if opened, and deallocate Value. + -- Close the directory, if opened, and deallocate Value procedure End_Search (Search : in out Search_Type) renames Finalize; end Ada.Directories; - - |