lua-users home
lua-l archive

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


> > 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.