[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Subscribe]
DM: RE:From: Michel de Ruiter Date: Mon, 11 Sep 2000 12:07:48 +0200 > I am having trouble with consult because it loads the binary > saved tree using character file i/o. The tree I am trying to > use just happens to have a <CTRL Z> in the data somewhere > that got treated as an eof and messed up the tree load. I am > still playing with this. I suspect that if I open the file > as binary, the problem will go away. Indeed, change the lines 302 and 390 of trees.c to the following and your problems will probably go away: 302: if ( ! ( TRf = fopen(Fn, "wb") ) ) 390: if ( ! ( TRf = fopen(Fn, "rb") ) ) Error(0, Fn, ""); Hope this helps. Groente, Michel.
|
MHonArc
2.2.0