From: Warren Brown Date: 2003-05-13T02:02:41+09:00 Subject: Re: PStore and tempfiles - bug? Paul, > The code should still be fixed so orig gets set, > wherever it is supposed to be set. There's a > similar case on line 102 where orig is always > true. If you look at line 94 where orig is set ("orig = true") you'll see that it is inside a begin/rescue clause. If the pstore file does not exist, and read_only is false (the default), then the "orig = true" line will never be executed and orig will be nil. This allows orig to be used as a flag to tell whether there was already a file there (true) or not (nil). The code appears to be correct. I hope this helps. - Warren Brown