diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:13:53 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-05 09:13:53 +0000 |
commit | f564e129e8d9ea0a7236644e25487736499580e5 (patch) | |
tree | cc106c2be643b722f115ec15f34987143c9400fe /gcc/ada/mlib.adb | |
parent | 4cddad9f31151ec1b65189561987a8c987893250 (diff) | |
download | gcc-f564e129e8d9ea0a7236644e25487736499580e5.tar.gz |
2008-08-05 Vincent Celier <celier@adacore.com>
* mlib.adb: Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138680 138bc75d-0d04-0410-961f-82ee72b054a4
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 0bb3a99fbfb..9fb50849e78 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; |