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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.140.96.100 with SMTP id j91mr868324qge.6.1458720801875; Wed, 23 Mar 2016 01:13:21 -0700 (PDT) X-Received: by 10.182.113.198 with SMTP id ja6mr10682obb.0.1458720801844; Wed, 23 Mar 2016 01:13:21 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!w104no8177657qge.1!news-out.google.com!h70ni2132qge.0!nntp.google.com!y89no8832568qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 23 Mar 2016 01:13:21 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=57.79.21.1; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 57.79.21.1 References: <56eff4a4$0$4238$e4fe514c@news.kpn.nl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Operating System differences and Ada OS independent programming From: gautier_niouzes@hotmail.com Injection-Date: Wed, 23 Mar 2016 08:13:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29851 Date: 2016-03-23T01:13:21-07:00 List-Id: On Tuesday, March 22, 2016 at 12:15:17 PM UTC+1, G.B. wrote: > Would this be real: > > 1. Take a zipped archive, produced by a real ZIP program, > of an Ada program's file system hierarchy on System A. > > 2. unzip in the same manner on System B. > > 3. Expect Ada's (not yet real) file system related types > to handle the files thus transported. Dmitry: > 4. Pack it again and make sure that the new archive is exactly same. No problem with all that, as long as you don't use drive letters. With Zip-Ada it's a piece of cake. For 4. you can compare two archives with the Comp_Zip tool. I would add: 5. Use the Zip archive as a portative file system. You can access the archived entries as streams with UnZip.Streams. No need of a real system B there. _________________________ Gautier's Ada programming http://sf.net/users/gdemont/