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,d0fa2610a6bea4ec X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Nested declares, constant size arrays and clarity References: <87641n92tc.fsf@ludovic-brenta.org> <87zlyz6rnt.fsf@ludovic-brenta.org> <1bykilw2jy8k3.1p7sr9xc5wl7i.dlg@40tude.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3cuNi.136719$Fc.116103@attbi_s21> NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1191604095 12.201.97.213 (Fri, 05 Oct 2007 17:08:15 GMT) NNTP-Posting-Date: Fri, 05 Oct 2007 17:08:15 GMT Organization: AT&T ASP.att.net Date: Fri, 05 Oct 2007 17:08:15 GMT Xref: g2news2.google.com comp.lang.ada:2320 Date: 2007-10-05T17:08:15+00:00 List-Id: Dmitry A. Kazakov wrote: > > In that case I reallocate the buffer. However to set a hard upper margin > would be a good idea, in order to prevent somebody from feeding the parser > with DVD images. If you're offering parsing over a public network, that's probably a good idea, but otherwise I think the user who does so gets what he deserves. Besides, I'd expect a DVD image to contain some things that would be interpreted as line terminators ... -- Jeff Carter "People called Romanes, they go the house?" Monty Python's Life of Brian 79