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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8f01d35116e753b6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.230 with SMTP id sd6mr11828459pbc.8.1332885854174; Tue, 27 Mar 2012 15:04:14 -0700 (PDT) Path: z9ni8974pbe.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 28 Mar 2012 00:03:42 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120313 Thunderbird/11.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: xor References: <9t8mq9Fla4U1@mid.individual.net> <9t99r9F6e2U1@mid.individual.net> In-Reply-To: Message-ID: <4f72393e$0$6643$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 28 Mar 2012 00:03:42 CEST NNTP-Posting-Host: 11e526ef.newsspool2.arcor-online.net X-Trace: DXC=SUV@iTgTo@Z<<0iRN7DLEQA9EHlD;3YcR4Fo<]lROoRQ8kFejVXg On 27.03.12 23:16, Michael Moeller wrote: > How can I prevent Ada from attaching '0x0a' to the end of the file? Do not use Text_IO for writing bytes. Text_IO is made for line printers and columns and whatnot. Use Direct_IO, or Stream_IO.