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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.ada Subject: Re: Problem with Unbounded Strings Date: Fri, 04 Dec 2015 23:00:52 +0000 Organization: A noiseless patient Spider Message-ID: <87zixp3jkr.fsf@bsb.me.uk> References: <274dc49b-b7cd-4eef-b333-34bae665c992@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="23050"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wXrwIJ38uvLZSg9dOybEiWEGkwaQs6+A=" Cancel-Lock: sha1:4279w0XZhvvv+gXK6MzXDNIQ1Mw= sha1:AWv5LyG/lCFSplmWM2bMSh/Rlp4= X-BSB-Auth: 1.d6f3c9160ceac95d23e1.20151204230052GMT.87zixp3jkr.fsf@bsb.me.uk Xref: news.eternal-september.org comp.lang.ada:28649 Date: 2015-12-04T23:00:52+00:00 List-Id: Laurent writes: > Ok I have reduced the whole thing to the minimum and still get the > same behaviour + an additional glitch > > The Log_File I have reduced it to the minimum too: > > 0123456789 > abcdefghijklmnopqrstuvwxyz > ABCDEFGHIJKLMNOPQRSTUVWXYZ > But I get this: > > 1st read: > Line: 0123456789 > Buffer after append: 0123456789 > > 2nd read: > Line: abcdefghijklmnopqrstuvwxyz > abcdefghijklmnopqrstuvwxyz56789 > > 3rd read: > Line: ABCDEFGHIJKLMNOPQRSTUVWXYZ > ABCDEFGHIJKLMNOPQRSTUVWXYZ56789 Just a data point. I get: Line: 0123456789 Buffer after append: 0123456789 Line: abcdefghijklmnopqrstuvwxyz Buffer after append: 0123456789abcdefghijklmnopqrstuvwxyz Line: ABCDEFGHIJKLMNOPQRSTUVWXYZ Buffer after append: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ just as you expect. Using GNATMAKE 4.9.3 on latest Ubuntu. -- Ben.