aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/mlib.adb
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2008-08-05 11:13:53 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2008-08-05 11:13:53 +0200
commit646acd10c872d900fcd6ae141ed485cd9d25f77e (patch)
treecc106c2be643b722f115ec15f34987143c9400fe /gcc/ada/mlib.adb
parentc7d920ad901faf5b90d8594dff6de07d6b4c09e5 (diff)
downloadgcc-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.adb8
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;