[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAGIC might be a bad name
From: |
Gary V. Vaughan |
Subject: |
Re: MAGIC might be a bad name |
Date: |
Thu, 28 Sep 2000 20:15:39 +0100 |
User-agent: |
Mutt/1.2.5i |
On Tue, Sep 26, 2000 at 08:34:37PM +0200, Marc Espie wrote:
> I've run into trouble getting correct results out of file on an old version
> of libtool.
>
> Checking the development source, I see the problem still exists:
>
> all BSD versions of files do heed MAGIC, as an environment variable that
> says where /usr/bin/file should take its magic.
>
> Ouch.
>
> So, using it to store file name breaks the whole thing. It is still
> possible to work around this by setting MAGIC to 'env -i file' and
> similar thingies, but this is a gotcha.
>
> It ought to be possible to use another name instead...
Good call.
Consider it done =)O|
Cheers,
Gary.
--
___ _ ___ __ _ mailto: address@hidden
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc