From 03f050b6b4f0b051bbd9ddf7061b5002808ed052 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 17 Apr 2009 12:01:17 +0200 Subject: [PATCH] [multiple changes] 2009-04-17 Nicolas Roche * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each argument length. 2009-04-17 Gary Dismukes * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to cover both calls and attribute references ("call" => "reference"). 2009-04-17 Ed Schonberg * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access type for which Storage_Size is set to 0 is legal in a pure unit. From-SVN: r146237 --- gcc/ada/ChangeLog | 15 +++++++++++++++ gcc/ada/initialize.c | 8 ++++---- gcc/ada/sem_ch3.adb | 4 +++- gcc/ada/sem_elim.adb | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2756c8c..df057e5 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,18 @@ +2009-04-17 Nicolas Roche + + * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each + argument length. + +2009-04-17 Gary Dismukes + + * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to + cover both calls and attribute references ("call" => "reference"). + +2009-04-17 Ed Schonberg + + * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access + type for which Storage_Size is set to 0 is legal in a pure unit. + 2009-04-17 Thomas Quinot * exp_ch7.adb: Minor reformatting diff --git a/gcc/ada/initialize.c b/gcc/ada/initialize.c index ef51f70..b7b905b 100644 --- a/gcc/ada/initialize.c +++ b/gcc/ada/initialize.c @@ -99,10 +99,10 @@ __gnat_initialize (void *eh) /* Adjust gnat_argv to support Unicode characters. */ { - char arg_utf8[MAX_PATH]; LPWSTR *wargv; int wargc; int k; + int size; wargv = CommandLineToArgvW (GetCommandLineW(), &wargc); @@ -113,9 +113,9 @@ __gnat_initialize (void *eh) for (k=0; k