lua-users home
lua-l archive

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


* Tom N. Harris:

> I'm having a problem with opening multiple files inside an
> archive. Well not really a problem, I just seek back to the correct
> position before every read. But this would be so much simpler if I
> could duplicate the handle, but there doesn't seem to be a way to do
> this other than adding a module to export `dup`.

dup doesn't create a descriptor with a separate file position.