[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: /usr/bin/env and the Lua bytecode format
- From: "Samson, Lyndon [IT]" <lyndon.samson@...>
- Date: Thu, 2 Aug 2001 17:32:02 +0100
It does seem quite a mess. And how many people actually use lua for general
Compared to embedded type tasks?
From: John Belmonte [mailto:firstname.lastname@example.org]
Sent: Thursday, August 02, 2001 5:18 PM
To: Multiple recipients of list
Subject: Re: /usr/bin/env and the Lua bytecode format
> > Not the end of the world, but right now I don't see that
> > we'd gain much except making the code a little bit
> > more complicated. Plus are you really suggesting that
> > people edit binary files to add the #! line?
> Yes. It's easy. See the Makefile in the original post on this
> topic. It contained a line like this to translate a byte code file
> into a #! commented byte code file.
By doing this, systems that are limited to detecting binary file types by
just looking for a magic number at some offset in the file (such as binfmt)
can no longer be used. This is breaking one thing to fix another, on top of
the added complexity.