diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 10:26:07 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-05 10:26:07 +0000 |
commit | 98f7db28f6275af79e04065bb2d7c6e21c5ee398 (patch) | |
tree | e42b065ee52cc45c4afe204b9806634fb1d09d2b /gcc/ada/a-direct.ads | |
parent | 5332e689d5776cd2c2b0cb1620030901b3b2ea62 (diff) | |
download | gcc-98f7db28f6275af79e04065bb2d7c6e21c5ee398.tar.gz |
2010-10-05 Robert Dewar <dewar@adacore.com>
* sem_ch4.adb: Minor reformatting.
* a-direct.ads: Minor comment update.
2010-10-05 Javier Miranda <miranda@adacore.com>
* sem_ch3.adb (Add_Internal_Interface_Entities): Removing code that is
no longer required after change in New_Overloaded_Entity.
* sem_ch6.adb (New_Overloaded_Entity): Code reorganization to isolate
the fragment of code that handles derivations of interface primitives.
Add missing dependence on global variable Inside_Freezing_Actions to
ensure the correct management of internal interface entities.
* sem_ch13.adb (Analyze_Freeze_Entity): Add missing increase/decrease
of the global variable Inside_Freezing_Actions to ensure that internal
interface entities are well handled by New_Overloaded_Entity.
* sem_disp.adb (Find_Primitive_Covering_Interface): Add documentation
and complete the algorithm to catch hidden primitives derived of
private type that covers the interface.
* sem_disp.ads (Find_Primitive_Covering_Interface): Add missing
documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164982 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-direct.ads')
-rw-r--r-- | gcc/ada/a-direct.ads | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/ada/a-direct.ads b/gcc/ada/a-direct.ads index a5793b9b20a..4ad42999257 100644 --- a/gcc/ada/a-direct.ads +++ b/gcc/ada/a-direct.ads @@ -200,14 +200,14 @@ package Ada.Directories is -- timestamps: Preserve the timestamp of the copied file, but not -- the other file attributes. -- - -- -- The allowed values for mode= are: -- -- copy: Only copy if the destination file does not already -- exist. If it already exists, Copy_File will fail. -- -- overwrite: Copy the file in all cases. Overwite an already - -- existing destination file. + -- existing destination file. This is the default if + -- no mode= is found in Form. -- -- append: Append the original file to the destination file. -- If the destination file does not exist, the @@ -215,19 +215,17 @@ package Ada.Directories is -- When mode=append, the field preserve=, if it -- exists, is not taken into account. -- - -- What is the default value for mode=??? - -- -- If the Form parameter includes one or both of the fields and the value - -- or values are incorrect, Copy_file fails with Use_Error. + -- or values are incorrect, Copy_File fails with Use_Error. -- -- Examples of correct Forms: -- Form => "preserve=no_attributes,mode=overwrite" (the default) -- Form => "mode=append" - -- Form => "mode=copy, preserve=all_attributes" + -- Form => "mode=copy,preserve=all_attributes" -- -- Examples of incorrect Forms: -- Form => "preserve=junk" - -- Form => "mode=internal, preserve=timestamps" + -- Form => "mode=internal,preserve=timestamps" ---------------------------------------- -- File and directory name operations -- |