lua-users home
lua-l archive

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


On 4/3/2010 8:35 AM, Florian Weimer wrote:
> dup doesn't create a descriptor with a separate file position.

On 4/3/2010 3:25 PM, Natanael Copa wrote:
Open the same file again and you have 2 file handles to same file.


Thank you. Of course, I remembered right after I wrote that, a Lua handle may not be backed by a file so I still have to track the position manually when giving out multiple handles.

--
- tom
telliamed@whoopdedo.org