diff options
author | Vincent Celier <celier@adacore.com> | 2008-08-05 11:13:53 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-08-05 11:13:53 +0200 |
commit | 646acd10c872d900fcd6ae141ed485cd9d25f77e (patch) | |
tree | cc106c2be643b722f115ec15f34987143c9400fe /gcc/ada/mlib.adb | |
parent | c7d920ad901faf5b90d8594dff6de07d6b4c09e5 (diff) | |
download | gcc-646acd10c872d900fcd6ae141ed485cd9d25f77e.zip gcc-646acd10c872d900fcd6ae141ed485cd9d25f77e.tar.gz gcc-646acd10c872d900fcd6ae141ed485cd9d25f77e.tar.bz2 |
mlib.adb: Update comments.
2008-08-05 Vincent Celier <celier@adacore.com>
* mlib.adb: Update comments.
From-SVN: r138680
Diffstat (limited to 'gcc/ada/mlib.adb')
-rw-r--r-- | gcc/ada/mlib.adb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/mlib.adb b/gcc/ada/mlib.adb index 0bb3a99..9fb5084 100644 --- a/gcc/ada/mlib.adb +++ b/gcc/ada/mlib.adb @@ -266,8 +266,12 @@ package body MLib is Success := Status and Actual_Len = Len + 3; if Success then - Set_Read_Only ( - Name_Buffer (1 .. Name_Len - 1)); + -- Set_Read_Only is used here, not + -- Set_Non_Writable, so that gprbuild can be + -- compiled with older compilers. + + Set_Read_Only + (Name_Buffer (1 .. Name_Len - 1)); end if; end if; end if; |