From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <45E1B7AA.30804@obry.net> Date: Sun, 25 Feb 2007 17:22:02 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Robert A Duff Subject: Re: Ada.Command_Line and wildcards References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 25 Feb 2007 17:22:11 CET NNTP-Posting-Host: 82.124.123.137 X-Trace: 1172420531 news.orange.fr 27392 82.124.123.137:2019 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:9525 Date: 2007-02-25T17:22:11+01:00 List-Id: Robert A Duff a �crit : > Indeed, that is a serious flaw in the design of Ada. > > By the way, Ada 2005 has a function Get_Line that returns type String. Which is a dubious feature if you asked me as you do not control the amount of stack space used by the returned object. This can easily lead to stack overflow, strange for Ada which aim to be on the safe side. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595