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: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Binary versus text and compiler versions, was: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. Date: Tue, 10 Dec 2013 23:08:40 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> <2b6dc37f-4aa6-4c18-be59-8c09f6f37f01@googlegroups.com> Injection-Date: Tue, 10 Dec 2013 23:08:40 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="3a7522c45acd2a6c162b080668fa4020"; logging-data="9698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dWDIMbfR7zEqn2kvclJQ5G7Iq5rpo1cQ=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:q1KLsjPU1/aThO0cuRMhTKKPMm0= X-Original-Bytes: 2401 Xref: number.nntp.dca.giganews.com comp.lang.ada:184171 Date: 2013-12-10T23:08:40+00:00 List-Id: On 2013-12-10, Randy Brukardt wrote: > > But if I was writing this sort of code, I wouldn't worry about line endings > at all, and simply encrypt the file as binary data, using Stream_IO to read > it in and out. > Thank you. That's one of a number of things I don't understand about this. A serious encryption tool is going to treat the input as a opaque stream of bytes not as text. I don't encrypt pure text, but I _do_ encrypt full directory trees which may have a mixture of text and binary files within them. I don't understand how someone who claims to have invented something new cannot realise this. And to the OP: while I can certainly understand the desire to remain with Ada 95, what I don't understand is why you insist on using such a specific version from a range of long obsolete compiler versions. Can you explain your reasoning ? Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world