clean.adb (Delete): Do not output warnings when in quiet output and not in verbose...
authorVincent Celier <celier@gnat.com>
Wed, 27 Oct 2004 12:29:44 +0000 (14:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 27 Oct 2004 12:29:44 +0000 (14:29 +0200)
commit9f1621753772745306133818df81270a1d758a88
tree953be9d71c1531b1ebb6586597e93766228368c3
parent28e4d64e1b77c4cab1c85bf1fb21cc665ed24b6e
clean.adb (Delete): Do not output warnings when in quiet output and not in verbose mode.

2004-10-26  Vincent Celier  <celier@gnat.com>

* clean.adb (Delete): Do not output warnings when in quiet output and
not in verbose mode.
(Force_Deletions): New Boolean flag, defaulted to False
(Delete): Only delete a file if it is writable, and when
Force_Deletions is True.
(Parse_Cmd_Line): New switch -f: set Force_Deletions to True
(Usage): Line for new switch -f
(Clean_Directory): Use GNAT.OS_Lib.Set_Writable instead of rolling our
own.

From-SVN: r89646
gcc/ada/clean.adb