lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> 
/snip 
> The problem is that files with precompiled code must be open in *binary* mode.
> We look at the first byte to check this and reopen the file in binary mode
> if it seems to contain precompiled code. To handle the #! thing we'd have to
> read the first line.
> 

I though that on most POSIX systems, where #! is relevant, text mode 
and binary mode are identical. Maybe this is a non-problem after all?

-- 
"No one knows true heroes, for they speak not of their greatness." -- 
Daniel Remar.
Björn De Meyer 
bjorn.demeyer@pandora.be