[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Reading a Lua system image
- From: Steve Dekorte <steve@...>
- Date: Wed, 31 Dec 97 13:22:09 -0800
>I think it must be peculiar to your system. This is what I get on
You're right. It turned out to be a bug in the OpenStep4.2 implementation of pclose().
I just commented out the pclose check in Lua's fileclose() function and everything
seems to work now.
>Does your persistency code correctly handle multiple references to the
>same object and cyclical data structures?
Yes, and the implementation turned out to be much simpler than I had thought.
The trick is seperating reading/writing from linking.
>If you need further
>inspiration, you might look at the Python "pickle" module