comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Operating System differences and Ada OS independent programming
Date: Wed, 23 Mar 2016 01:13:21 -0700 (PDT)
Date: 2016-03-23T01:13:21-07:00	[thread overview]
Message-ID: <f9c013f4-7886-4c17-9319-8392ba17f11f@googlegroups.com> (raw)
In-Reply-To: <ncr9a6$8a8$1@dont-email.me>

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/

  parent reply	other threads:[~2016-03-23  8:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21 13:18 Operating System differences and Ada OS independent programming ldries46
2016-03-21 15:07 ` gautier_niouzes
2016-03-21 17:24 ` Dennis Lee Bieber
2016-03-21 22:04   ` Randy Brukardt
2016-03-22  8:43     ` Dmitry A. Kazakov
2016-03-22 11:15       ` G.B.
2016-03-22 13:40         ` Dmitry A. Kazakov
2016-03-22 14:36           ` Stefan.Lucks
2016-03-22 15:08           ` G.B.
2016-03-22 19:06             ` Dmitry A. Kazakov
2016-03-23  8:13         ` gautier_niouzes [this message]
2016-03-23  8:38           ` Dmitry A. Kazakov
2016-03-23 15:08             ` G.B.
2016-03-24  8:00               ` Dmitry A. Kazakov
2016-03-24 10:41                 ` G.B.
2016-03-24 10:42                   ` G.B.
2016-03-24 12:16                   ` Dmitry A. Kazakov
2016-03-24  3:36             ` Shark8
2016-03-24  7:58               ` Dmitry A. Kazakov
2016-03-24 11:42                 ` Dennis Lee Bieber
2016-03-24  1:19 ` rieachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox