clean.adb (Clean_Project): Correctly delete executable specified as absolute path...
authorVincent Celier <celier@adacore.com>
Thu, 16 Jun 2005 08:34:41 +0000 (10:34 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2005 08:34:41 +0000 (10:34 +0200)
commitd4881d364f4a56a41ec47624f6c1076424c00179
treed745fc7e6dbcbf297fb6736799c3c03c4e76e002
parentd8b9660d16d93d5e5b17da70df59f955bd2be03b
clean.adb (Clean_Project): Correctly delete executable specified as absolute path names.

2005-06-14  Vincent Celier  <celier@adacore.com>

* clean.adb (Clean_Project): Correctly delete executable specified as
absolute path names.

* make.adb (Gnatmake): Allow relative executable path names with
directory information even when project files are used.
(Change_To_Object_Directory): Fail gracefully when unable to change
current working directory to object directory of a project.
(Gnatmake): Remove exception handler that could no longer be exercized
(Compile_Sources.Compile): Use deep copies of arguments, as some of them
may be deallocated by Normalize_Arguments.
(Collect_Arguments): Eliminate empty arguments

* gnatcmd.adb (All_Projects): New Boolean flag, initialized to False,
and set to True when -U is used for GNAT PRETTY or GNAT METRIC.
(Check_Project): Return False when Project is No_Project. Return True
when All_Projects is True.
(GNATCmd): Recognize switch -U for GNAT PRETTY and GNAT METRIC and set
All_Projects to True.
Minor reformatting

From-SVN: r101028
gcc/ada/clean.adb
gcc/ada/gnatcmd.adb
gcc/ada/make.adb