[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: httpfs, tarfs --help

From: Jeroen Dekkers
Subject: Re: httpfs, tarfs --help
Date: Fri, 21 Dec 2001 19:55:06 +0100
User-agent: Mutt/1.3.24i

On Fri, Dec 21, 2001 at 10:22:41AM -0800, James Morrison wrote:
> --- Adam Olsen <rhamph@d2dc.net> wrote:
> > There's two ways for an app to support gzipped files:
> > a) within the app itself, by recognising files with a .gz extension
>         This is bad, extensions should not be trusted.  Magic can
> be used to determine if a file is compressed, and if so what library
> function
> to call to decompress it.  There probably should be a hurd library to
> do this
> stuff so at some point we would be able to run both gzipped binaries
> and bzip2'd
> binaries.

I hadn't thought about magic yet. Writing a library to check the types 
and a program/translator which associates translators with different
types is a good way to do it. Running gzippped and bzip2'd binaries is
already supported in exec IIRC.

Jeroen Dekkers
Jabber supporter - http://www.jabber.org Jabber ID: jdekkers@jabber.org
Debian GNU supporter - http://www.debian.org http://www.gnu.org
IRC: jeroen@openprojects.net

Attachment: pgpaYE0GZot2I.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]