summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatvsn.ads
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-03 04:48:56 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-03 04:48:56 +0000
commitf3f03d1ef01ae945da02a8d1fc3972459b1df5c3 (patch)
treec8721229a0c70ed62bda3f6f75cc67cdb2c88a37 /gcc/ada/gnatvsn.ads
parente440a3286bc89368b8d3a8fd6accd47191790bf2 (diff)
downloadgcc-f3f03d1ef01ae945da02a8d1fc3972459b1df5c3.tar.gz
* gnatvsn.adb (Gnat_Version_String): Don't overrun Ver_Len_Max.
* gnatvsn.ads (Ver_Len_Max): Bump up to 256. * g-comver.adb (Ver_Len_Max): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatvsn.ads')
-rw-r--r--gcc/ada/gnatvsn.ads2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gnatvsn.ads b/gcc/ada/gnatvsn.ads
index 4a3adc86e7a..c73824e5fe6 100644
--- a/gcc/ada/gnatvsn.ads
+++ b/gcc/ada/gnatvsn.ads
@@ -70,7 +70,7 @@ package Gnatvsn is
-- Return the name of the Copyright holder to be displayed by the different
-- GNAT tools when switch --version is used.
- Ver_Len_Max : constant := 64;
+ Ver_Len_Max : constant := 256;
-- Longest possible length for Gnat_Version_String in this or any
-- other version of GNAT. This is used by the binder to establish
-- space to store any possible version string value for checks. This